2 writes to currentForm
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Application.cs (2)
3400currentForm = context.MainForm; 3492currentForm = oldForm;
16 references to currentForm
System.Windows.Forms (16)
winforms\Managed\System\WinForms\Application.cs (16)
3398Form oldForm = currentForm; 3420bool modalEnabled = currentForm != null && currentForm.Enabled; 3428hwndOwner = new HandleRef(null, UnsafeNativeMethods.GetWindowLong(new HandleRef(currentForm, currentForm.Handle), NativeMethods.GWL_HWNDPARENT)); 3443if (currentForm != null && 3444currentForm.IsHandleCreated && 3445SafeNativeMethods.IsWindowEnabled(new HandleRef(currentForm, currentForm.Handle)) != modalEnabled) { 3446SafeNativeMethods.EnableWindow(new HandleRef(currentForm, currentForm.Handle), modalEnabled); 3463if (fullModal && currentForm != null) { 3464currentForm.Visible = true; 3475result = LocalModalMessageLoop(currentForm); 3981if (currentForm == null || currentForm.CheckCloseDialog(false)) {