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)
539SetState(States.AllowDrop, value); 553SetState(States.AllowDrop, !value); 699SetState(States.OwnCtlBrush, false); 704SetState(States.OwnCtlBrush, true); 1085SetState(States.CausesValidation, value); 1411set => SetState(States.ValidationCancelled, value); 1758SetState(States.Enabled, value); 2168SetState(States.HostedInDialog, topMost.HostedInWin32DialogManager); 2174SetState(States.HostedInDialog, false); 2190SetState(States.HostedInDialog, true); 2199SetState(States.CheckedHost, true); 2326set => SetState(States.IsAccessible, value); 2375SetState(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0); 3087SetState(States.TabStop, value); 3356SetState(States.UseWaitCursor, value); 3756SetState(States.LayoutIsDirty, true); 4221SetState(States.CheckedHost, false); 4478SetState(States.CreatingHandle, true); 4487SetState(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0); 4521SetState(States.CreatingHandle, false); 4569SetState(States.Created, true); 4601SetState(States.Created, false); 4639SetState(States.ThreadMarshalPending, true); 4719SetState(States.Disposing, true); 4755SetState(States.Disposing, false); 4756SetState(States.Disposed, true); 5743SetState(States.TrackingMouseEvent, true); 7001SetState(States.ParentRecreating, false); 7016SetState(States.ParentRecreating, true); 7330SetState(States.ThreadMarshalPending, false); 7681ParentInternal.SetState(States.LayoutIsDirty, true); 8292SetState(States.ExceptionWhilePainting, true); 8364SetState(States.LayoutDeferred, true); 8393SetState(States.LayoutDeferred | States.LayoutIsDirty, false); 9153SetState(States.MouseEnterPending, true); 9160SetState(States.Recreate, true); 9208SetState(States.Created, false); 9215SetState(States.Recreate, false); 9484SetState(States.DropTarget, accept); 10149SetState(States.Created, false); 10276SetState(States.TopLevel, value); 10324SetState(States.Visible, value); 10345SetState(States.Visible, !value); 10352SetState(States.Visible, value); 10387SetState(States.Visible, value); 10715SetState(States.TrackingMouseEvent, false); 10982SetState(States.Mirrored, ((WINDOW_EX_STYLE)cp.ExStyle).HasFlag(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL)); 11330SetState(States.Created, false); 11335SetState(States.Visible, false); 11374SetState(States.MousePressed, true); 11588SetState(States.DoubleClickFired, false); 11589SetState(States.MousePressed, false); 11590SetState(States.ValidationCancelled, false); 11983SetState(States.Visible, true); 11997SetState(States.Visible, oldVisibleBit); 12016SetState(States.Visible, false); 12351SetState(States.DoubleClickFired, true); 12368SetState(States.DoubleClickFired, true); 12393SetState(States.DoubleClickFired, true); 12444SetState(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)
206SetState(States.Visible, false); 207SetState(States.TopLevel, true); 811SetState(States.SizeLockedByOS, true); 1500SetState(States.TopLevel, false); 2122SetState(States.Visible, false); 2129SetState(States.Visible, true); 2481SetState(States.SizeLockedByOS, false); 2485SetState(States.SizeLockedByOS, true); 5619SetState(States.Modal, true); 5705SetState(States.Modal, false); 6470SetState(States.SizeLockedByOS, false); 6474SetState(States.SizeLockedByOS, true);
System\Windows\Forms\MDI\MDIClient.cs (1)
106SetState(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);