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); 7004SetState(States.ParentRecreating, false); 7019SetState(States.ParentRecreating, true); 7333SetState(States.ThreadMarshalPending, false); 7687ParentInternal.SetState(States.LayoutIsDirty, true); 8298SetState(States.ExceptionWhilePainting, true); 8370SetState(States.LayoutDeferred, true); 8399SetState(States.LayoutDeferred | States.LayoutIsDirty, false); 9159SetState(States.MouseEnterPending, true); 9166SetState(States.Recreate, true); 9214SetState(States.Created, false); 9221SetState(States.Recreate, false); 9490SetState(States.DropTarget, accept); 10158SetState(States.Created, false); 10285SetState(States.TopLevel, value); 10333SetState(States.Visible, value); 10354SetState(States.Visible, !value); 10361SetState(States.Visible, value); 10396SetState(States.Visible, value); 10724SetState(States.TrackingMouseEvent, false); 10991SetState(States.Mirrored, ((WINDOW_EX_STYLE)cp.ExStyle).HasFlag(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL)); 11339SetState(States.Created, false); 11344SetState(States.Visible, false); 11383SetState(States.MousePressed, true); 11600SetState(States.DoubleClickFired, false); 11601SetState(States.MousePressed, false); 11602SetState(States.ValidationCancelled, false); 11995SetState(States.Visible, true); 12009SetState(States.Visible, oldVisibleBit); 12028SetState(States.Visible, false); 12363SetState(States.DoubleClickFired, true); 12380SetState(States.DoubleClickFired, true); 12405SetState(States.DoubleClickFired, true); 12456SetState(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)
1086SetState(States.Visible, false); 1091SetState(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); 5625SetState(States.Modal, true); 5711SetState(States.Modal, false); 6476SetState(States.SizeLockedByOS, false); 6480SetState(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);