1 // cs0070.cs : The event 'Click' can only appear on the left-side of a += or -= (except when used from within the type 'Button')
6 public delegate void EventHandler (int i, int j);
10 public event EventHandler Click;
16 Button Button1 = new Button ();
18 public void Connect ()
20 Button1.Click = new EventHandler (Button1_Click);
23 public void Button1_Click (int i, int j)
27 public static void Main ()