public static void Main() { Proef temp = new Proef(); temp.OnDoSomething += new EventHandler(Temp); }