Beispiel #1
0
 // Event Handler
 public static void EventHandler(Event e)
 {
     if (test.InvokeRequired)
     {
         test.Invoke(new EventInvoke(EventHandler), new object[1] {
             e
         });
     }
     else
     {
         test.EventHandler(e);
     }
 }