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