84 references to SetState
System.Windows.Forms (84)
System\Windows\Forms\ActiveX\AxHost.cs (3)
1023SetState(States.Visible, false); 1586SetState(States.Visible, value); 3150SetState(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)
645SetState(States.AllowDrop, value); 659SetState(States.AllowDrop, !value); 805SetState(States.OwnCtlBrush, false); 810SetState(States.OwnCtlBrush, true); 1369SetState(States.CausesValidation, value); 1688set => SetState(States.ValidationCancelled, value); 2035SetState(States.Enabled, value); 2445SetState(States.HostedInDialog, topMost.HostedInWin32DialogManager); 2451SetState(States.HostedInDialog, false); 2467SetState(States.HostedInDialog, true); 2476SetState(States.CheckedHost, true); 2603set => SetState(States.IsAccessible, value); 2652SetState(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0); 3364SetState(States.TabStop, value); 3633SetState(States.UseWaitCursor, value); 4046SetState(States.LayoutIsDirty, true); 4535SetState(States.CheckedHost, false); 4791SetState(States.CreatingHandle, true); 4800SetState(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0); 4834SetState(States.CreatingHandle, false); 4882SetState(States.Created, true); 4914SetState(States.Created, false); 4952SetState(States.ThreadMarshalPending, true); 5032SetState(States.Disposing, true); 5068SetState(States.Disposing, false); 5069SetState(States.Disposed, true); 6065SetState(States.TrackingMouseEvent, true); 7749SetState(States.ParentRecreating, false); 7764SetState(States.ParentRecreating, true); 8085SetState(States.ThreadMarshalPending, false); 8441ParentInternal.SetState(States.LayoutIsDirty, true); 9164SetState(States.ExceptionWhilePainting, true); 9236SetState(States.LayoutDeferred, true); 9265SetState(States.LayoutDeferred | States.LayoutIsDirty, false); 10028SetState(States.MouseEnterPending, true); 10035SetState(States.Recreate, true); 10085SetState(States.Created, false); 10092SetState(States.Recreate, false); 10376SetState(States.DropTarget, accept); 11047SetState(States.Created, false); 11188SetState(States.TopLevel, value); 11236SetState(States.Visible, value); 11257SetState(States.Visible, !value); 11264SetState(States.Visible, value); 11299SetState(States.Visible, value); 11627SetState(States.TrackingMouseEvent, false); 11894SetState(States.Mirrored, ((WINDOW_EX_STYLE)cp.ExStyle).HasFlag(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL)); 12242SetState(States.Created, false); 12247SetState(States.Visible, false); 12286SetState(States.MousePressed, true); 12504SetState(States.DoubleClickFired, false); 12505SetState(States.MousePressed, false); 12506SetState(States.ValidationCancelled, false); 12899SetState(States.Visible, true); 12913SetState(States.Visible, oldVisibleBit); 12932SetState(States.Visible, false); 13267SetState(States.DoubleClickFired, true); 13284SetState(States.DoubleClickFired, true); 13309SetState(States.DoubleClickFired, true); 13360SetState(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)
210SetState(States.Visible, false); 211SetState(States.TopLevel, true); 811SetState(States.SizeLockedByOS, true); 1497SetState(States.TopLevel, false); 2203SetState(States.Visible, false); 2210SetState(States.Visible, true); 2552SetState(States.SizeLockedByOS, false); 2556SetState(States.SizeLockedByOS, true); 5797SetState(States.Modal, true); 5883SetState(States.Modal, false); 6656SetState(States.SizeLockedByOS, false); 6660SetState(States.SizeLockedByOS, true);
System\Windows\Forms\MDI\MDIClient.cs (1)
102SetState(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);