3 writes to MainForm
Microsoft.VisualBasic.Forms (2)
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.vb (1)
306_appContext.MainForm = value
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.WinFormsAppContext.vb (1)
56MainForm = forms(0)
System.Windows.Forms (1)
System\Windows\Forms\ApplicationContext.cs (1)
38MainForm = mainForm;
8 references to MainForm
Microsoft.VisualBasic.Forms (2)
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.vb (2)
283If value IsNot Nothing AndAlso value Is _appContext.MainForm Then 297Return _appContext?.MainForm
System.Windows.Forms (6)
System\Windows\Forms\Application.ModalApplicationContext.cs (4)
27if (MainForm is not null && MainForm.IsHandleCreated) 30HWND parentHandle = (HWND)PInvokeCore.GetWindowLong(MainForm, WINDOW_LONG_PTR_INDEX.GWL_HWNDPARENT); 43parentControl ??= _parentWindowContext.ApplicationContext!.MainForm;
System\Windows\Forms\Application.ThreadContext.cs (2)
719ApplicationContext.MainForm?.Visible = true; 725CurrentForm = context.MainForm;