1 write to MainForm
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ApplicationContext.cs (1)
38
this.
MainForm
= mainForm;
7 references to MainForm
System.Windows.Forms (7)
winforms\Managed\System\WinForms\Application.cs (7)
3389
if (applicationContext.
MainForm
!= null) {
3390
applicationContext.
MainForm
.Visible = true;
3400
currentForm = context.
MainForm
;
4341
if (
MainForm
!= null &&
MainForm
.IsHandleCreated) {
4345
IntPtr parentHandle = UnsafeNativeMethods.GetWindowLong(new HandleRef(this,
MainForm
.Handle), NativeMethods.GWL_HWNDPARENT);
4365
parentControl = parentWindowContext.ApplicationContext.
MainForm
;