84 references to SetState
System.Windows.Forms (84)
System\Windows\Forms\ActiveX\AxHost.cs (3)
1026SetState(States.Visible, false); 1589SetState(States.Visible, value); 3153SetState(States.Visible, visible);
System\Windows\Forms\Application.ParkingWindow.cs (1)
26SetState(States.TopLevel, true);
System\Windows\Forms\Control.ControlNativeWindow.cs (1)
102_control.SetState(States.MouseEnterPending, false);
System\Windows\Forms\Control.cs (60)
614SetState(States.AllowDrop, value); 628SetState(States.AllowDrop, !value); 774SetState(States.OwnCtlBrush, false); 779SetState(States.OwnCtlBrush, true); 1160SetState(States.CausesValidation, value); 1486set => SetState(States.ValidationCancelled, value); 1833SetState(States.Enabled, value); 2243SetState(States.HostedInDialog, topMost.HostedInWin32DialogManager); 2249SetState(States.HostedInDialog, false); 2265SetState(States.HostedInDialog, true); 2274SetState(States.CheckedHost, true); 2401set => SetState(States.IsAccessible, value); 2450SetState(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0); 3162SetState(States.TabStop, value); 3431SetState(States.UseWaitCursor, value); 3831SetState(States.LayoutIsDirty, true); 4296SetState(States.CheckedHost, false); 4553SetState(States.CreatingHandle, true); 4562SetState(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0); 4596SetState(States.CreatingHandle, false); 4644SetState(States.Created, true); 4676SetState(States.Created, false); 4714SetState(States.ThreadMarshalPending, true); 4794SetState(States.Disposing, true); 4830SetState(States.Disposing, false); 4831SetState(States.Disposed, true); 5818SetState(States.TrackingMouseEvent, true); 7076SetState(States.ParentRecreating, false); 7091SetState(States.ParentRecreating, true); 7407SetState(States.ThreadMarshalPending, false); 7759ParentInternal.SetState(States.LayoutIsDirty, true); 8361SetState(States.ExceptionWhilePainting, true); 8433SetState(States.LayoutDeferred, true); 8462SetState(States.LayoutDeferred | States.LayoutIsDirty, false); 9225SetState(States.MouseEnterPending, true); 9232SetState(States.Recreate, true); 9282SetState(States.Created, false); 9289SetState(States.Recreate, false); 9574SetState(States.DropTarget, accept); 10239SetState(States.Created, false); 10381SetState(States.TopLevel, value); 10430SetState(States.Visible, value); 10451SetState(States.Visible, !value); 10458SetState(States.Visible, value); 10493SetState(States.Visible, value); 10821SetState(States.TrackingMouseEvent, false); 11088SetState(States.Mirrored, ((WINDOW_EX_STYLE)cp.ExStyle).HasFlag(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL)); 11436SetState(States.Created, false); 11441SetState(States.Visible, false); 11480SetState(States.MousePressed, true); 11694SetState(States.DoubleClickFired, false); 11695SetState(States.MousePressed, false); 11696SetState(States.ValidationCancelled, false); 12089SetState(States.Visible, true); 12103SetState(States.Visible, oldVisibleBit); 12122SetState(States.Visible, false); 12457SetState(States.DoubleClickFired, true); 12474SetState(States.DoubleClickFired, true); 12499SetState(States.DoubleClickFired, true); 12550SetState(States.DoubleClickFired, true);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
666SetState(States.Modal, true);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
1083SetState(States.Visible, false); 1088SetState(States.Modal, true);
System\Windows\Forms\Form.cs (12)
207SetState(States.Visible, false); 208SetState(States.TopLevel, true); 808SetState(States.SizeLockedByOS, true); 1497SetState(States.TopLevel, false); 2200SetState(States.Visible, false); 2207SetState(States.Visible, true); 2559SetState(States.SizeLockedByOS, false); 2563SetState(States.SizeLockedByOS, true); 5716SetState(States.Modal, true); 5802SetState(States.Modal, false); 6567SetState(States.SizeLockedByOS, false); 6571SetState(States.SizeLockedByOS, true);
System\Windows\Forms\MDI\MDIClient.cs (1)
104SetState(States.Enabled, false);
System\Windows\Forms\SendKeys\SendKeys.SKWindow.cs (1)
15SetState(States.TopLevel, true);
System\Windows\Forms\UserControl.cs (2)
32SetState(States.Visible, true); 33SetState(States.TopLevel, false);