5 private EventHandler _OnDoSomething
= null;
7 public event EventHandler OnDoSomething
11 _OnDoSomething
+= value;
15 _OnDoSomething
-= value;
19 static void Temp(object s
, EventArgs e
)
23 public static void Main()
25 Proef temp
= new Proef();
26 temp
.OnDoSomething
+= new EventHandler(Temp
);