NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MenuItem.OnPopup

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
);

Parameters

e
An EventArgs that contains the event data.

Remarks

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.

See Also

MenuItem Class | MenuItem Members | System.WinForms Namespace | AddOnPopup | RemoveOnPopup