Delegate EventHandler
- Namespace
- System
- Assembly
- mscorlib.dll
Represents the method that will handle an event that has no event data.
public delegate void EventHandler(object sender, EventArgs e)
Parameters
- Extension Methods
Constructors
EventHandler(object, IntPtr)
public EventHandler(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(object, EventArgs, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(object sender, EventArgs e, AsyncCallback callback, object @object)
Parameters
sender
objecte
EventArgscallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(object, EventArgs)
public virtual void Invoke(object sender, EventArgs e)