A method that will handle specific command events concerning manipulations with menu items.
public delegate void MenuItemCommandEventHandler( object source, MenuItemCommandEventArgs e );
Public Delegate Sub MenuItemCommandEventHandler( source As Object, e As MenuItemCommandEventArgs )
A Object representing the event source. Identifies the menu control that raised the event.
A MenuItemCommandEventArgs object that contains event data.
When creating a MenuItemCommandEventHandler delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance 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 Events and Delegates in MSDN.