3 writes to WindowState
System.Windows.Forms (3)
winforms\Managed\System\WinForms\Form.cs (2)
6983
WindowState
= FormWindowState.Maximized;
6986
WindowState
= FormWindowState.Minimized;
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
595
base.
WindowState
= value;
31 references to WindowState
System.Windows.Forms (31)
winforms\Managed\System\WinForms\DataGridView.cs (1)
3696
return parentForm != null && parentForm.
WindowState
== FormWindowState.Minimized;
winforms\Managed\System\WinForms\Form.cs (27)
902
if (
WindowState
!= FormWindowState.Normal) {
1036
&& (
WindowState
== FormWindowState.Maximized
1037
||
WindowState
== FormWindowState.Normal)) {
1042
&& form.
WindowState
== FormWindowState.Maximized) {
1358
return (
WindowState
== FormWindowState.Maximized || (IsMdiChild && (formState[FormStateMdiChildMax] ==1)));
2338
switch(
WindowState
) {
2719
if (
WindowState
== FormWindowState.Maximized) {
2734
if (value && !IsMdiChild && (
WindowState
== FormWindowState.Maximized || TopMost)) {
3226
if (
WindowState
!= FormWindowState.Minimized) {
3233
FormWindowState winState =
WindowState
;
4038
if (
WindowState
!= FormWindowState.Maximized) {
4400
if (this.IsMdiChild && (formStateEx[FormStateExMnemonicProcessed] == 1 || this != this.MdiParentInternal.ActiveMdiChildInternal || this.
WindowState
== FormWindowState.Minimized)){
5512
if (!IsMdiChild && (
WindowState
== FormWindowState.Minimized ||
WindowState
== FormWindowState.Maximized)) {
5679
if (
WindowState
== FormWindowState.Normal) {
5789
if (
WindowState
== FormWindowState.Normal) {
5827
if (
WindowState
!= FormWindowState.Normal) {
5862
if (
WindowState
!= FormWindowState.Normal) {
5897
if (
WindowState
== FormWindowState.Normal
6571
if (activeMdiChild != null && activeMdiChild.
WindowState
== FormWindowState.Maximized) {
6845
FormWindowState oldState =
WindowState
;
6880
if (oldState == FormWindowState.Normal &&
WindowState
!= FormWindowState.Normal) {
6882
if (
WindowState
== FormWindowState.Minimized) {
6899
if (oldState == FormWindowState.Minimized &&
WindowState
!= FormWindowState.Minimized) {
6903
switch (
WindowState
) {
6913
if (oldState !=
WindowState
) {
7914
if (owner.
WindowState
== FormWindowState.Minimized) {
winforms\Managed\System\WinForms\MDIClient.cs (1)
259
if (child.CanRecreateHandle() && child.
WindowState
== FormWindowState.Minimized) {
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
592
return base.
WindowState
;
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
1727
if (mdiChild.
WindowState
== FormWindowState.Maximized) {