84 references to SetState
System.Windows.Forms (84)
System\Windows\Forms\ActiveX\AxHost.cs (3)
1025
SetState
(States.Visible, false);
1588
SetState
(States.Visible, value);
3152
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)
540
SetState
(States.AllowDrop, value);
554
SetState
(States.AllowDrop, !value);
700
SetState
(States.OwnCtlBrush, false);
705
SetState
(States.OwnCtlBrush, true);
1086
SetState
(States.CausesValidation, value);
1412
set =>
SetState
(States.ValidationCancelled, value);
1759
SetState
(States.Enabled, value);
2169
SetState
(States.HostedInDialog, topMost.HostedInWin32DialogManager);
2175
SetState
(States.HostedInDialog, false);
2191
SetState
(States.HostedInDialog, true);
2200
SetState
(States.CheckedHost, true);
2327
set =>
SetState
(States.IsAccessible, value);
2376
SetState
(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0);
3088
SetState
(States.TabStop, value);
3357
SetState
(States.UseWaitCursor, value);
3757
SetState
(States.LayoutIsDirty, true);
4222
SetState
(States.CheckedHost, false);
4479
SetState
(States.CreatingHandle, true);
4488
SetState
(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0);
4522
SetState
(States.CreatingHandle, false);
4570
SetState
(States.Created, true);
4602
SetState
(States.Created, false);
4640
SetState
(States.ThreadMarshalPending, true);
4720
SetState
(States.Disposing, true);
4756
SetState
(States.Disposing, false);
4757
SetState
(States.Disposed, true);
5704
SetState
(States.TrackingMouseEvent, true);
6965
SetState
(States.ParentRecreating, false);
6980
SetState
(States.ParentRecreating, true);
7294
SetState
(States.ThreadMarshalPending, false);
7648
ParentInternal.
SetState
(States.LayoutIsDirty, true);
8259
SetState
(States.ExceptionWhilePainting, true);
8331
SetState
(States.LayoutDeferred, true);
8360
SetState
(States.LayoutDeferred | States.LayoutIsDirty, false);
9120
SetState
(States.MouseEnterPending, true);
9127
SetState
(States.Recreate, true);
9175
SetState
(States.Created, false);
9182
SetState
(States.Recreate, false);
9451
SetState
(States.DropTarget, accept);
10127
SetState
(States.Created, false);
10254
SetState
(States.TopLevel, value);
10302
SetState
(States.Visible, value);
10323
SetState
(States.Visible, !value);
10330
SetState
(States.Visible, value);
10365
SetState
(States.Visible, value);
10693
SetState
(States.TrackingMouseEvent, false);
10960
SetState
(States.Mirrored, ((WINDOW_EX_STYLE)cp.ExStyle).HasFlag(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL));
11308
SetState
(States.Created, false);
11313
SetState
(States.Visible, false);
11352
SetState
(States.MousePressed, true);
11569
SetState
(States.DoubleClickFired, false);
11570
SetState
(States.MousePressed, false);
11571
SetState
(States.ValidationCancelled, false);
11965
SetState
(States.Visible, true);
11979
SetState
(States.Visible, oldVisibleBit);
11998
SetState
(States.Visible, false);
12333
SetState
(States.DoubleClickFired, true);
12350
SetState
(States.DoubleClickFired, true);
12375
SetState
(States.DoubleClickFired, true);
12426
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)
1089
SetState
(States.Visible, false);
1094
SetState
(States.Modal, true);
System\Windows\Forms\Form.cs (12)
206
SetState
(States.Visible, false);
207
SetState
(States.TopLevel, true);
811
SetState
(States.SizeLockedByOS, true);
1500
SetState
(States.TopLevel, false);
2122
SetState
(States.Visible, false);
2129
SetState
(States.Visible, true);
2481
SetState
(States.SizeLockedByOS, false);
2485
SetState
(States.SizeLockedByOS, true);
5625
SetState
(States.Modal, true);
5711
SetState
(States.Modal, false);
6476
SetState
(States.SizeLockedByOS, false);
6480
SetState
(States.SizeLockedByOS, true);
System\Windows\Forms\MDI\MDIClient.cs (1)
106
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);