public void OnSimpleEvent(SimpleEventArgs eventArgs) { SimpleEvent(this, eventArgs); }
public static void SimpleEventHandler(object sender, SimpleEventArgs eventArgs) { Console.WriteLine("SimpleEvent has been raised {0} times.", eventArgs.EventCount); }