36 references to Maximized
System.Windows.Forms (22)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
928
if (mdiChild.WindowState == FormWindowState.
Maximized
)
System\Windows\Forms\Form.cs (21)
802
if (Visible && (WindowState is FormWindowState.
Maximized
or FormWindowState.Normal))
807
if (form is not null && form.WindowState == FormWindowState.
Maximized
)
810
_formState[s_formStateWindowState] = (int)FormWindowState.
Maximized
;
1061
return (WindowState == FormWindowState.
Maximized
|| (IsMdiChild && (_formState[s_formStateMdiChildMax] == 1)));
1796
case FormWindowState.
Maximized
:
2144
if (WindowState == FormWindowState.
Maximized
)
2154
if (value && !IsMdiChild && (WindowState == FormWindowState.
Maximized
|| TopMost))
2483
case FormWindowState.
Maximized
:
2496
case FormWindowState.
Maximized
:
2902
bool showMax = MaximizeBox && winState != FormWindowState.
Maximized
;
2906
&& winState != FormWindowState.
Maximized
;
3308
&& (FormWindowState)_formState[s_formStateWindowState] == FormWindowState.
Maximized
)
3315
_formState[s_formStateWindowState] = (int)FormWindowState.
Maximized
;
3675
if (WindowState != FormWindowState.
Maximized
)
3693
case FormWindowState.
Maximized
:
4862
if (!IsMdiChild && (WindowState == FormWindowState.Minimized || WindowState == FormWindowState.
Maximized
))
6119
if (activeMdiChild is not null && activeMdiChild.WindowState == FormWindowState.
Maximized
)
6376
if (WindowState == FormWindowState.
Maximized
&& MdiParent?.MdiControlStrip is not null)
6425
_formState[s_formStateWindowState] = (int)FormWindowState.
Maximized
;
6478
case FormWindowState.
Maximized
:
6557
WindowState = FormWindowState.
Maximized
;
System.Windows.Forms.Tests (9)
System\Windows\Forms\FormTests.cs (4)
993
Assert.Equal(FormWindowState.
Maximized
, form.WindowState);
1017
form.WindowState = FormWindowState.
Maximized
;
1022
Assert.Equal(FormWindowState.
Maximized
, form.WindowState);
1248
control.WindowState = FormWindowState.
Maximized
;
System\Windows\Forms\MdiControlStripTests.cs (4)
212
WindowState = FormWindowState.
Maximized
258
WindowState = FormWindowState.
Maximized
297
WindowState = FormWindowState.
Maximized
324
mdiChild.WindowState = FormWindowState.
Maximized
;
System\Windows\Forms\PropertyStoreTests.cs (1)
31
{ 16, FormWindowState.
Maximized
}
System.Windows.Forms.UI.IntegrationTests (2)
FormTests.cs (2)
24
[InlineData(FormWindowState.
Maximized
)]
83
[InlineData(FormWindowState.
Maximized
)]
WinFormsControlsTest (3)
MdiChild.cs (1)
31
WindowState = FormWindowState.
Maximized
MdiParent.cs (2)
25
WindowState = FormWindowState.
Maximized
53
WindowState = FormWindowState.
Maximized