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