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.OnSelect

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

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 OnSelect in a derived class, be sure to call the base class's OnSelect method.

See Also

MenuItem Class | MenuItem Members | System.WinForms Namespace | AddOnSelect | RemoveOnSelect