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