15 references to Modal
System.Windows.Forms (15)
System\Windows\Forms\Control.Ime.cs (1)
639
if ((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)
39
UIA_PROPERTY_ID.UIA_IsDialogPropertyId => (VARIANT)(this.TryGetOwnerAs(out Form? owner) && owner.
Modal
),
System\Windows\Forms\Form.cs (11)
4897
if (!
Modal
)
4925
if (!
Modal
)
5756
if (
Modal
)
6698
Application.FormActivated(
Modal
, true);
6700
Application.FormActivated(
Modal
, Active);
6753
if (m.MsgInternal == PInvokeCore.WM_CLOSE && !
Modal
&& _formStateEx[s_formStateExInCloseEventDispatch] != 0)
6763
if (
Modal
)
6826
if (ownedForm.
Modal
)
6860
if (
Modal
)
6904
if (ownedForm.
Modal
)
7094
if (
Modal
&& _dialogResult == DialogResult.None)
System\Windows\Forms\ToolTip\ToolTip.cs (1)
910
if (_topLevelControl is not Form topForm || (topForm is not null && !topForm.
Modal
))