ApplicationContext.OnMainFormClosed(Object, EventArgs) Method

Definition

Calls ExitThreadCore(), which raises the ThreadExit event.

protected:
 virtual void OnMainFormClosed(System::Object ^ sender, EventArgs ^ e);
protected virtual void OnMainFormClosed (object sender, EventArgs e);
protected virtual void OnMainFormClosed (object? sender, EventArgs e);
abstract member OnMainFormClosed : obj * EventArgs -> unit
override this.OnMainFormClosed : obj * EventArgs -> unit
Protected Overridable Sub OnMainFormClosed (sender As Object, e As EventArgs)

Parameters

sender
Object

The object that raised the event.

e
EventArgs

The EventArgs that contains the event data.

Remarks

The default implementation of this method calls ExitThreadCore.

Applies to