Raises the System.WinForms.MenuItem.Select event.
[Visual Basic] Overridable Protected Sub OnSelect( _ ByVal e As EventArgs _ ) [C#] protected virtual void OnSelect( EventArgs e ); [C++] protected: virtual void OnSelect( EventArgs* e ); [JScript] protected function OnSelect( e : EventArgs );
Raising an event invokes the event-handling method through a delegate. For more information, see TBD.
Notes to Inheritors: When overriding OnSelect in a derived class, be sure to call the base class's OnSelect method.
MenuItem Class | MenuItem Members | System.WinForms Namespace | AddOnSelect | RemoveOnSelect