public virtual void OnActionOccured(OptiActionEventsArgs myEvent) { EventHandler <OptiActionEventsArgs> handler = ActionOccured; if (handler != null) { handler(this, myEvent); } }
public virtual void OnActionOccured(OptiActionEventsArgs myEvent) // Define Event Trigger Method { EventHandler <OptiActionEventsArgs> handler = ActionOccured; if (handler != null) { handler(this, myEvent); } }