In This Article

StatusBarPanelMouseEventHandler Delegate

Represents the method that will handle StatusBarPanel mouse events.

public delegate void StatusBarPanelMouseEventHandler(object sender, StatusBarPanelMouseEventArgs e)

Parameters

Name Type Description
sender object

Sender of the event.

e StatusBarPanelMouseEventArgs

A StatusBarPanelMouseEventArgs containing event data.

Remarks

When you create a StatusBarPanelMouseEventHandler 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.

Constructors

StatusBarPanelMouseEventHandler(object, IntPtr)

public StatusBarPanelMouseEventHandler(object @object, IntPtr method)
Parameter Type Description
object object
method IntPtr

Methods

BeginInvoke(object, StatusBarPanelMouseEventArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(object sender, StatusBarPanelMouseEventArgs e, AsyncCallback callback, object @object)
Parameter Type Description
sender object
e StatusBarPanelMouseEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)
Parameter Type Description
result IAsyncResult

Invoke(object, StatusBarPanelMouseEventArgs)

public virtual void Invoke(object sender, StatusBarPanelMouseEventArgs e)
Parameter Type Description
sender object
e StatusBarPanelMouseEventArgs