2008-12-16 41 views

回答

4

嗯,你可以將它聲明:

p.Click += delegate (object sender, EventArgs args) {...} 

,並把它們作爲senderargs

或用lambda表達式:

p.Click += (sender, args) => {...} 
+0

謝謝!那很快 ;) – Sorskoot 2008-12-16 14:16:08