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