15 references to Modal
System.Windows.Forms (15)
System\Windows\Forms\Control.Ime.cs (1)
639if ((appForm is null || appForm.Modal) && !topMostWinformsParent.ContainsFocus)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
30_isModal ??= this.TryGetOwnerAs(out DataGridView? owner) && owner.TopMostParent is Form { Modal: true };
System\Windows\Forms\Form.AccessibleObject.cs (1)
39UIA_PROPERTY_ID.UIA_IsDialogPropertyId => (VARIANT)(this.TryGetOwnerAs(out Form? owner) && owner.Modal),
System\Windows\Forms\Form.cs (11)
4897if (!Modal) 4925if (!Modal) 5756if (Modal) 6698Application.FormActivated(Modal, true); 6700Application.FormActivated(Modal, Active); 6753if (m.MsgInternal == PInvokeCore.WM_CLOSE && !Modal && _formStateEx[s_formStateExInCloseEventDispatch] != 0) 6763if (Modal) 6826if (ownedForm.Modal) 6860if (Modal) 6904if (ownedForm.Modal) 7094if (Modal && _dialogResult == DialogResult.None)
System\Windows\Forms\ToolTip\ToolTip.cs (1)
910if (_topLevelControl is not Form topForm || (topForm is not null && !topForm.Modal))