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)
635SetState(States.AllowDrop, value); 649SetState(States.AllowDrop, !value); 795SetState(States.OwnCtlBrush, false); 800SetState(States.OwnCtlBrush, true); 1181SetState(States.CausesValidation, value); 1507set => SetState(States.ValidationCancelled, value); 1854SetState(States.Enabled, value); 2264SetState(States.HostedInDialog, topMost.HostedInWin32DialogManager); 2270SetState(States.HostedInDialog, false); 2286SetState(States.HostedInDialog, true); 2295SetState(States.CheckedHost, true); 2422set => SetState(States.IsAccessible, value); 2471SetState(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0); 3183SetState(States.TabStop, value); 3452SetState(States.UseWaitCursor, value); 3852SetState(States.LayoutIsDirty, true); 4317SetState(States.CheckedHost, false); 4574SetState(States.CreatingHandle, true); 4583SetState(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0); 4617SetState(States.CreatingHandle, false); 4665SetState(States.Created, true); 4697SetState(States.Created, false); 4735SetState(States.ThreadMarshalPending, true); 4815SetState(States.Disposing, true); 4851SetState(States.Disposing, false); 4852SetState(States.Disposed, true); 5839SetState(States.TrackingMouseEvent, true); 7097SetState(States.ParentRecreating, false); 7112SetState(States.ParentRecreating, true); 7428SetState(States.ThreadMarshalPending, false); 7780ParentInternal.SetState(States.LayoutIsDirty, true); 8382SetState(States.ExceptionWhilePainting, true); 8454SetState(States.LayoutDeferred, true); 8483SetState(States.LayoutDeferred | States.LayoutIsDirty, false); 9246SetState(States.MouseEnterPending, true); 9253SetState(States.Recreate, true); 9303SetState(States.Created, false); 9310SetState(States.Recreate, false); 9595SetState(States.DropTarget, accept); 10260SetState(States.Created, false); 10402SetState(States.TopLevel, value); 10451SetState(States.Visible, value); 10472SetState(States.Visible, !value); 10479SetState(States.Visible, value); 10514SetState(States.Visible, value); 10842SetState(States.TrackingMouseEvent, false); 11109SetState(States.Mirrored, ((WINDOW_EX_STYLE)cp.ExStyle).HasFlag(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL)); 11457SetState(States.Created, false); 11462SetState(States.Visible, false); 11501SetState(States.MousePressed, true); 11715SetState(States.DoubleClickFired, false); 11716SetState(States.MousePressed, false); 11717SetState(States.ValidationCancelled, false); 12110SetState(States.Visible, true); 12124SetState(States.Visible, oldVisibleBit); 12143SetState(States.Visible, false); 12478SetState(States.DoubleClickFired, true); 12495SetState(States.DoubleClickFired, true); 12520SetState(States.DoubleClickFired, true); 12571SetState(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)
207SetState(States.Visible, false); 208SetState(States.TopLevel, true); 808SetState(States.SizeLockedByOS, true); 1494SetState(States.TopLevel, false); 2200SetState(States.Visible, false); 2207SetState(States.Visible, true); 2559SetState(States.SizeLockedByOS, false); 2563SetState(States.SizeLockedByOS, true); 5713SetState(States.Modal, true); 5799SetState(States.Modal, false); 6572SetState(States.SizeLockedByOS, false); 6576SetState(States.SizeLockedByOS, true);
System\Windows\Forms\MDI\MDIClient.cs (1)
104SetState(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);