In This Article

TabbedMdiWindowCancelEventHandler Delegate

Represents the method that will handle various events of a TabbedMdiWindow that can be cancelled.

public delegate void TabbedMdiWindowCancelEventHandler(object sender, TabbedMdiWindowCancelEventArgs e)

Parameters

Name Type Description
sender object

Sender of the event.

e TabbedMdiWindowCancelEventArgs

A TabbedMdiWindowCancelEventArgs containing event data.

Remarks

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

TabbedMdiWindowCancelEventHandler(object, IntPtr)

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

Methods

BeginInvoke(object, TabbedMdiWindowCancelEventArgs, AsyncCallback, object)

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

Returns

IAsyncResult

EndInvoke(IAsyncResult)

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

Invoke(object, TabbedMdiWindowCancelEventArgs)

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