ApplicationContext.OnMainFormClosed(Object, EventArgs) Método

Definición

Llama al método ExitThreadCore(), que provoca el 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

El objeto que ha generado el evento.

e
EventArgs

Objeto EventArgs que contiene los datos del evento.

Comentarios

La implementación predeterminada de este método llama a ExitThreadCore.

Se aplica a