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); 1360SetState(States.CausesValidation, value); 1679set => SetState(States.ValidationCancelled, value); 2026SetState(States.Enabled, value); 2436SetState(States.HostedInDialog, topMost.HostedInWin32DialogManager); 2442SetState(States.HostedInDialog, false); 2458SetState(States.HostedInDialog, true); 2467SetState(States.CheckedHost, true); 2594set => SetState(States.IsAccessible, value); 2643SetState(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0); 3355SetState(States.TabStop, value); 3624SetState(States.UseWaitCursor, value); 4037SetState(States.LayoutIsDirty, true); 4526SetState(States.CheckedHost, false); 4782SetState(States.CreatingHandle, true); 4791SetState(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0); 4825SetState(States.CreatingHandle, false); 4873SetState(States.Created, true); 4905SetState(States.Created, false); 4943SetState(States.ThreadMarshalPending, true); 5023SetState(States.Disposing, true); 5059SetState(States.Disposing, false); 5060SetState(States.Disposed, true); 6056SetState(States.TrackingMouseEvent, true); 7691SetState(States.ParentRecreating, false); 7706SetState(States.ParentRecreating, true); 8027SetState(States.ThreadMarshalPending, false); 8383ParentInternal.SetState(States.LayoutIsDirty, true); 9106SetState(States.ExceptionWhilePainting, true); 9178SetState(States.LayoutDeferred, true); 9207SetState(States.LayoutDeferred | States.LayoutIsDirty, false); 9970SetState(States.MouseEnterPending, true); 9977SetState(States.Recreate, true); 10027SetState(States.Created, false); 10034SetState(States.Recreate, false); 10318SetState(States.DropTarget, accept); 10983SetState(States.Created, false); 11124SetState(States.TopLevel, value); 11172SetState(States.Visible, value); 11193SetState(States.Visible, !value); 11200SetState(States.Visible, value); 11235SetState(States.Visible, value); 11563SetState(States.TrackingMouseEvent, false); 11830SetState(States.Mirrored, ((WINDOW_EX_STYLE)cp.ExStyle).HasFlag(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL)); 12178SetState(States.Created, false); 12183SetState(States.Visible, false); 12222SetState(States.MousePressed, true); 12440SetState(States.DoubleClickFired, false); 12441SetState(States.MousePressed, false); 12442SetState(States.ValidationCancelled, false); 12835SetState(States.Visible, true); 12849SetState(States.Visible, oldVisibleBit); 12868SetState(States.Visible, false); 13203SetState(States.DoubleClickFired, true); 13220SetState(States.DoubleClickFired, true); 13245SetState(States.DoubleClickFired, true); 13296SetState(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); 5739SetState(States.Modal, true); 5825SetState(States.Modal, false); 6598SetState(States.SizeLockedByOS, false); 6602SetState(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);