Esempio n. 1
0
 //the method you call to trigger the event
 private void OnAccelerate(MyCustomParameters parameters)
 {
     //actual triggering of the events
     if (Accelerate != null)
     {
         Accelerate(parameters);
     }
 }
Esempio n. 2
0
 void trigger_Accelerate(MyCustomParameters parameters)
 {
     //implement event handling here
 }