81 references to SetState
System.Windows.Forms (81)
winforms\Managed\System\WinForms\Application.cs (1)
4108
SetState
(STATE_TOPLEVEL, true);
winforms\Managed\System\WinForms\AxHost.cs (3)
1436
SetState
(STATE_VISIBLE, false);
1930
SetState
(STATE_VISIBLE, value);
3511
SetState
(STATE_VISIBLE, visible);
winforms\Managed\System\WinForms\Control.cs (56)
880
SetState
(STATE_ALLOWDROP, value);
889
SetState
(STATE_ALLOWDROP, !value);
1057
SetState
(STATE_OWNCTLBRUSH, false);
1061
SetState
(STATE_OWNCTLBRUSH, true);
1505
SetState
(STATE_CAUSESVALIDATION, value);
1962
SetState
(STATE_VALIDATIONCANCELLED, value);
2441
SetState
(STATE_ENABLED, value);
2926
SetState
(STATE_HOSTEDINDIALOG, topMost.HostedInWin32DialogManager);
2934
SetState
(STATE_HOSTEDINDIALOG, false);
2944
SetState
(STATE_HOSTEDINDIALOG, true);
2953
SetState
(STATE_CHECKEDHOST, true);
3123
SetState
(STATE_ISACCESSIBLE, value);
3174
SetState
(STATE_MIRRORED, (cp.ExStyle & NativeMethods.WS_EX_LAYOUTRTL) != 0);
3988
SetState
(STATE_TABSTOP, value);
4298
SetState
(STATE_USEWAITCURSOR, value);
4777
SetState
(STATE_LAYOUTISDIRTY, true);
5533
SetState
(STATE_CHECKEDHOST, false);
5790
SetState
(STATE_CREATINGHANDLE, true);
5801
SetState
(STATE_MIRRORED, (cp.ExStyle & NativeMethods.WS_EX_LAYOUTRTL) != 0);
5831
SetState
(STATE_CREATINGHANDLE, false);
5951
SetState
(STATE_THREADMARSHALLPENDING, true);
6020
SetState
(STATE_DISPOSING, true);
6057
SetState
(STATE_DISPOSING, false);
6058
SetState
(STATE_DISPOSED, true);
7102
SetState
(STATE_TRACKINGMOUSEEVENT, true);
8409
SetState
(STATE_PARENTRECREATING, false);
8425
SetState
(STATE_PARENTRECREATING, true);
8818
SetState
(STATE_THREADMARSHALLPENDING, false);
9143
ParentInternal.
SetState
(STATE_LAYOUTISDIRTY, true);
9869
SetState
(STATE_EXCEPTIONWHILEPAINTING, true);
9934
SetState
(STATE_LAYOUTDEFERRED, true);
9978
SetState
(STATE_LAYOUTDEFERRED | STATE_LAYOUTISDIRTY, false);
10966
SetState
(STATE_MOUSEENTERPENDING, true);
11261
SetState
(STATE_DROPTARGET, accept);
11962
SetState
(STATE_CREATED, false);
12095
SetState
(STATE_TOPLEVEL, value);
12140
SetState
(STATE_VISIBLE, value);
12154
SetState
(STATE_VISIBLE, !value);
12159
SetState
(STATE_VISIBLE, value);
12189
SetState
(STATE_VISIBLE, value);
12497
SetState
(STATE_TRACKINGMOUSEEVENT, false);
12752
SetState
(STATE_MIRRORED, (cp.ExStyle & NativeMethods.WS_EX_LAYOUTRTL) != 0);
13312
SetState
(STATE_CREATED, false);
13316
SetState
(STATE_VISIBLE, false);
13354
SetState
(STATE_MOUSEPRESSED, true);
13538
SetState
(STATE_DOUBLECLICKFIRED, false);
13539
SetState
(STATE_MOUSEPRESSED, false);
13540
SetState
(STATE_VALIDATIONCANCELLED, false);
13937
SetState
(STATE_VISIBLE, true);
13948
SetState
(STATE_VISIBLE, oldVisibleBit);
13965
SetState
(STATE_VISIBLE, false);
14290
SetState
(STATE_DOUBLECLICKFIRED, true);
14302
SetState
(STATE_DOUBLECLICKFIRED, true);
14320
SetState
(STATE_DOUBLECLICKFIRED, true);
14362
SetState
(STATE_DOUBLECLICKFIRED, true);
14647
control.
SetState
(Control.STATE_MOUSEENTERPENDING, false);
winforms\Managed\System\WinForms\Form.cs (12)
319
SetState
(STATE_VISIBLE, false);
320
SetState
(STATE_TOPLEVEL, true);
1045
SetState
(STATE_SIZELOCKEDBYOS, true);
1932
SetState
(STATE_TOPLEVEL, false);
2696
SetState
(STATE_VISIBLE, false);
2704
SetState
(STATE_VISIBLE, true);
2777
SetState
(STATE_SIZELOCKEDBYOS, false);
2781
SetState
(STATE_SIZELOCKEDBYOS, true);
6186
SetState
(STATE_MODAL, true);
6254
SetState
(STATE_MODAL, false);
6905
SetState
(STATE_SIZELOCKEDBYOS, false);
6909
SetState
(STATE_SIZELOCKEDBYOS, true);
winforms\Managed\System\WinForms\MDIClient.cs (1)
124
SetState
(STATE_ENABLED, false);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
6077
SetState
(STATE_MODAL, true);
winforms\Managed\System\WinForms\SendKeys.cs (1)
990
SetState
(STATE_TOPLEVEL, true);
winforms\Managed\System\WinForms\ToolBar.cs (2)
1086
SetState
(STATE_DISPOSING, true);
1104
SetState
(STATE_DISPOSING, currentDisposing);
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
1306
SetState
(STATE_VISIBLE, false);
1312
SetState
(STATE_MODAL, true);
winforms\Managed\System\WinForms\UserControl.cs (2)
50
SetState
(STATE_VISIBLE, true);
51
SetState
(STATE_TOPLEVEL, false);