Breyta

Deila með


Form.OnMenuComplete(EventArgs) Method

Definition

Raises the MenuComplete event.

protected:
 virtual void OnMenuComplete(EventArgs ^ e);
protected virtual void OnMenuComplete (EventArgs e);
abstract member OnMenuComplete : EventArgs -> unit
override this.OnMenuComplete : EventArgs -> unit
Protected Overridable Sub OnMenuComplete (e As EventArgs)

Parameters

e
EventArgs

The EventArgs that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

The OnMenuComplete method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Notes to Inheritors

When overriding OnMenuComplete(EventArgs) in a derived class, be sure to call the base class's OnMenuComplete(EventArgs) method so that registered delegates receive the event.

Applies to

See also