10 references to s_propFormMdiParent
System.Windows.Forms (10)
System\Windows\Forms\Form.cs (10)
804
Form? formMdiParent = Properties.GetValueOrDefault<Form>(
s_propFormMdiParent
);
1071
public bool IsMdiChild => Properties.ContainsKey(
s_propFormMdiParent
);
1453
get => Properties.GetValueOrDefault<Form>(
s_propFormMdiParent
);
1456
Form? formMdiParent = Properties.GetValueOrDefault<Form>(
s_propFormMdiParent
);
1495
Properties.AddOrRemoveValue(
s_propFormMdiParent
, value);
3162
if (Properties.TryGetValue(
s_propFormMdiParent
, out Form? formMdiParent) && formMdiParent.MdiClient != value)
3164
Properties.RemoveValue(
s_propFormMdiParent
);
3355
Form? form = Properties.GetValueOrDefault<Form>(
s_propFormMdiParent
);
7045
Debug.Assert(Properties.ContainsKey(
s_propFormMdiParent
), "how is formMdiParent null?");
7048
if (Properties.TryGetValue(
s_propFormMdiParent
, out Form? formMdiParent))