ApplicationContext::OnMainFormClosed Method (Object^, EventArgs^)

 

Calls ExitThreadCore, which raises the ThreadExit event.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected:
virtual void OnMainFormClosed(
	Object^ sender,
	EventArgs^ e
)

Parameters

sender
Type: System::Object^

The object that raised the event.

e
Type: System::EventArgs^

The EventArgs that contains the event data.

The default implementation of this method calls ExitThreadCore.

.NET Framework
Available since 1.1
Return to top
Show: