Partilhar via


ApplicationContext.OnMainFormClosed(Object, EventArgs) Método

Definição

Chama ExitThreadCore(), que gera o evento 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)

Parâmetros

sender
Object

O objeto que gerencie o evento.

e
EventArgs

O EventArgs que contém os dados do evento.

Comentários

A implementação padrão desse método chama ExitThreadCore.

Aplica-se a