[Serializable] |
sender
e
If the event does not generate data, use the base class EventArgs for the event data object, and the pre-defined EventHandler for the event delegate.
When you create an EventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event handler delegates, see the conceptual topic at MSDN: eventsdelegates.
public delegate void EventHandler(Object sender, EventArgs e); public event EventHandler NoDataEventHandler;
Hierarchy: