84 references to SetState
System.Windows.Forms (84)
System\Windows\Forms\ActiveX\AxHost.cs (3)
1026
SetState
(States.Visible, false);
1589
SetState
(States.Visible, value);
3153
SetState
(States.Visible, visible);
System\Windows\Forms\Application.ParkingWindow.cs (1)
26
SetState
(States.TopLevel, true);
System\Windows\Forms\Control.ControlNativeWindow.cs (1)
102
_control.
SetState
(States.MouseEnterPending, false);
System\Windows\Forms\Control.cs (60)
635
SetState
(States.AllowDrop, value);
649
SetState
(States.AllowDrop, !value);
795
SetState
(States.OwnCtlBrush, false);
800
SetState
(States.OwnCtlBrush, true);
1181
SetState
(States.CausesValidation, value);
1507
set =>
SetState
(States.ValidationCancelled, value);
1854
SetState
(States.Enabled, value);
2264
SetState
(States.HostedInDialog, topMost.HostedInWin32DialogManager);
2270
SetState
(States.HostedInDialog, false);
2286
SetState
(States.HostedInDialog, true);
2295
SetState
(States.CheckedHost, true);
2422
set =>
SetState
(States.IsAccessible, value);
2471
SetState
(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0);
3183
SetState
(States.TabStop, value);
3452
SetState
(States.UseWaitCursor, value);
3852
SetState
(States.LayoutIsDirty, true);
4317
SetState
(States.CheckedHost, false);
4574
SetState
(States.CreatingHandle, true);
4583
SetState
(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0);
4617
SetState
(States.CreatingHandle, false);
4665
SetState
(States.Created, true);
4697
SetState
(States.Created, false);
4735
SetState
(States.ThreadMarshalPending, true);
4815
SetState
(States.Disposing, true);
4851
SetState
(States.Disposing, false);
4852
SetState
(States.Disposed, true);
5839
SetState
(States.TrackingMouseEvent, true);
7097
SetState
(States.ParentRecreating, false);
7112
SetState
(States.ParentRecreating, true);
7426
SetState
(States.ThreadMarshalPending, false);
7778
ParentInternal.
SetState
(States.LayoutIsDirty, true);
8380
SetState
(States.ExceptionWhilePainting, true);
8452
SetState
(States.LayoutDeferred, true);
8481
SetState
(States.LayoutDeferred | States.LayoutIsDirty, false);
9244
SetState
(States.MouseEnterPending, true);
9251
SetState
(States.Recreate, true);
9301
SetState
(States.Created, false);
9308
SetState
(States.Recreate, false);
9592
SetState
(States.DropTarget, accept);
10257
SetState
(States.Created, false);
10398
SetState
(States.TopLevel, value);
10446
SetState
(States.Visible, value);
10467
SetState
(States.Visible, !value);
10474
SetState
(States.Visible, value);
10509
SetState
(States.Visible, value);
10837
SetState
(States.TrackingMouseEvent, false);
11104
SetState
(States.Mirrored, ((WINDOW_EX_STYLE)cp.ExStyle).HasFlag(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL));
11452
SetState
(States.Created, false);
11457
SetState
(States.Visible, false);
11496
SetState
(States.MousePressed, true);
11710
SetState
(States.DoubleClickFired, false);
11711
SetState
(States.MousePressed, false);
11712
SetState
(States.ValidationCancelled, false);
12105
SetState
(States.Visible, true);
12119
SetState
(States.Visible, oldVisibleBit);
12138
SetState
(States.Visible, false);
12473
SetState
(States.DoubleClickFired, true);
12490
SetState
(States.DoubleClickFired, true);
12515
SetState
(States.DoubleClickFired, true);
12566
SetState
(States.DoubleClickFired, true);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
666
SetState
(States.Modal, true);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
1083
SetState
(States.Visible, false);
1088
SetState
(States.Modal, true);
System\Windows\Forms\Form.cs (12)
206
SetState
(States.Visible, false);
207
SetState
(States.TopLevel, true);
807
SetState
(States.SizeLockedByOS, true);
1493
SetState
(States.TopLevel, false);
2199
SetState
(States.Visible, false);
2206
SetState
(States.Visible, true);
2548
SetState
(States.SizeLockedByOS, false);
2552
SetState
(States.SizeLockedByOS, true);
5723
SetState
(States.Modal, true);
5809
SetState
(States.Modal, false);
6583
SetState
(States.SizeLockedByOS, false);
6587
SetState
(States.SizeLockedByOS, true);
System\Windows\Forms\MDI\MDIClient.cs (1)
102
SetState
(States.Enabled, false);
System\Windows\Forms\SendKeys\SendKeys.SKWindow.cs (1)
15
SetState
(States.TopLevel, true);
System\Windows\Forms\UserControl.cs (2)
32
SetState
(States.Visible, true);
33
SetState
(States.TopLevel, false);