System.Windows.Forms.Form.MenuStart Event

Occurs when the menu of a form receives focus.

Syntax

[System.ComponentModel.Browsable(false)]
public event EventHandler MenuStart

Remarks

This event is raised when any menu item in the menu is clicked by the user. You can use this event to perform tasks such as enabling and disabling controls on the form that should not be accessed by the user when the menus are being accessed.

For more information about handling events, see [<topic://cpconEventsOverview>].

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0
Since: .NET 2.0