ApplicationContext::MainForm Property
.NET Framework (current version)
Gets or sets the Form to use as context.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
This property determines the main Form for this context. This property can change at any time. If OnMainFormClosed is not overridden, the message loop of the thread terminates when the mainForm parameter closes.
.NET Framework
Available since 1.1
Available since 1.1
Show: