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