Represents a method that will handle the dock panel events.
public delegate void DockPanelCancelEventHandler( object sender, DockPanelCancelEventArgs e );
Public Delegate Sub DockPanelCancelEventHandler( sender As Object, e As DockPanelCancelEventArgs )
The event sender. Identifies the dock manager that raised the event.
A DockPanelCancelEventArgs object that contains event data.
When you create a DockPanelCancelEventHandler 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 delegates, see Events and Delegates in MSDN.