protected virtual void OnRaiseCustomEventHandler1(CustomEventHandler1 e) { EventHandler<CustomEventHandler1> handler = RaiseCustomEventHandler1; if (handler != null) { handler(this,e); } }
void sdkcommunication_RaiseCustomEventHandler1(object sender, CustomEventHandler1 e) { //Do something. }