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)
635SetState(States.AllowDrop, value); 649SetState(States.AllowDrop, !value); 795SetState(States.OwnCtlBrush, false); 800SetState(States.OwnCtlBrush, true); 1181SetState(States.CausesValidation, value); 1500set => SetState(States.ValidationCancelled, value); 1847SetState(States.Enabled, value); 2257SetState(States.HostedInDialog, topMost.HostedInWin32DialogManager); 2263SetState(States.HostedInDialog, false); 2279SetState(States.HostedInDialog, true); 2288SetState(States.CheckedHost, true); 2415set => SetState(States.IsAccessible, value); 2464SetState(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0); 3176SetState(States.TabStop, value); 3445SetState(States.UseWaitCursor, value); 3845SetState(States.LayoutIsDirty, true); 4310SetState(States.CheckedHost, false); 4567SetState(States.CreatingHandle, true); 4576SetState(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0); 4610SetState(States.CreatingHandle, false); 4658SetState(States.Created, true); 4690SetState(States.Created, false); 4728SetState(States.ThreadMarshalPending, true); 4808SetState(States.Disposing, true); 4844SetState(States.Disposing, false); 4845SetState(States.Disposed, true); 5832SetState(States.TrackingMouseEvent, true); 7092SetState(States.ParentRecreating, false); 7107SetState(States.ParentRecreating, true); 7421SetState(States.ThreadMarshalPending, false); 7773ParentInternal.SetState(States.LayoutIsDirty, true); 8375SetState(States.ExceptionWhilePainting, true); 8447SetState(States.LayoutDeferred, true); 8476SetState(States.LayoutDeferred | States.LayoutIsDirty, false); 9239SetState(States.MouseEnterPending, true); 9246SetState(States.Recreate, true); 9296SetState(States.Created, false); 9303SetState(States.Recreate, false); 9587SetState(States.DropTarget, accept); 10252SetState(States.Created, false); 10393SetState(States.TopLevel, value); 10441SetState(States.Visible, value); 10462SetState(States.Visible, !value); 10469SetState(States.Visible, value); 10504SetState(States.Visible, value); 10832SetState(States.TrackingMouseEvent, false); 11099SetState(States.Mirrored, ((WINDOW_EX_STYLE)cp.ExStyle).HasFlag(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL)); 11447SetState(States.Created, false); 11452SetState(States.Visible, false); 11491SetState(States.MousePressed, true); 11705SetState(States.DoubleClickFired, false); 11706SetState(States.MousePressed, false); 11707SetState(States.ValidationCancelled, false); 12100SetState(States.Visible, true); 12114SetState(States.Visible, oldVisibleBit); 12133SetState(States.Visible, false); 12468SetState(States.DoubleClickFired, true); 12485SetState(States.DoubleClickFired, true); 12510SetState(States.DoubleClickFired, true); 12561SetState(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)
206SetState(States.Visible, false); 207SetState(States.TopLevel, true); 807SetState(States.SizeLockedByOS, true); 1493SetState(States.TopLevel, false); 2199SetState(States.Visible, false); 2206SetState(States.Visible, true); 2548SetState(States.SizeLockedByOS, false); 2552SetState(States.SizeLockedByOS, true); 5723SetState(States.Modal, true); 5809SetState(States.Modal, false); 6582SetState(States.SizeLockedByOS, false); 6586SetState(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);