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); 11041SetState(States.Created, false); 11182SetState(States.TopLevel, value); 11230SetState(States.Visible, value); 11251SetState(States.Visible, !value); 11258SetState(States.Visible, value); 11293SetState(States.Visible, value); 11621SetState(States.TrackingMouseEvent, false); 11888SetState(States.Mirrored, ((WINDOW_EX_STYLE)cp.ExStyle).HasFlag(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL)); 12236SetState(States.Created, false); 12241SetState(States.Visible, false); 12280SetState(States.MousePressed, true); 12498SetState(States.DoubleClickFired, false); 12499SetState(States.MousePressed, false); 12500SetState(States.ValidationCancelled, false); 12893SetState(States.Visible, true); 12907SetState(States.Visible, oldVisibleBit); 12926SetState(States.Visible, false); 13261SetState(States.DoubleClickFired, true); 13278SetState(States.DoubleClickFired, true); 13303SetState(States.DoubleClickFired, true); 13354SetState(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)
209SetState(States.Visible, false); 210SetState(States.TopLevel, true); 810SetState(States.SizeLockedByOS, true); 1496SetState(States.TopLevel, false); 2202SetState(States.Visible, false); 2209SetState(States.Visible, true); 2551SetState(States.SizeLockedByOS, false); 2555SetState(States.SizeLockedByOS, true); 5788SetState(States.Modal, true); 5874SetState(States.Modal, false); 6647SetState(States.SizeLockedByOS, false); 6651SetState(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);