ApplicationContext.OnMainFormClosed(Object, EventArgs) 方法

定义

调用 ExitThreadCore(),它引发 ThreadExit 事件。

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)

参数

sender
Object

引发事件的对象。

e
EventArgs

包含事件数据的 EventArgs

注解

此方法的默认实现调用 ExitThreadCore

适用于