4 writes to _state
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (4)
318_state = States.Visible | States.Enabled | States.TabStop | States.CausesValidation; 10240_state = value ? _state | flag : _state & ~flag; 10930_state |= States.NoZOrder; 10941_state &= ~States.NoZOrder;
12 references to _state
System.Windows.Forms (12)
System\Windows\Forms\Control.ControlCollection.cs (1)
106if (oldParent != value._parent && (Owner._state & States.Created) != 0)
System\Windows\Forms\Control.cs (11)
1327if (!_state.HasFlag(States.TopLevel)) 1339if (_state.HasFlag(States.TabStop)) 1344if (_state.HasFlag(States.Visible)) 3083get => (_state & States.TabStop) != 0; 5055protected bool GetTopLevel() => (_state & States.TopLevel) != 0; 5716private protected bool GetState(States flag) => (_state & flag) != 0; 10240_state = value ? _state | flag : _state & ~flag; 10979if ((_state & States.Visible) != 0) 11985if (_state.HasFlag(States.Recreate)) 12144&& (_state & States.NoZOrder) == 0)