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