10 references to s_stateSelected
System.Windows.Forms (10)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (10)
128
private static readonly int s_stateConstructing = BitVector32.CreateMask(
s_stateSelected
);
152
_state[s_stateAllowDrop | s_stateMouseDownAndNoDrag | s_stateSupportsRightClick | s_statePressed |
s_stateSelected
| s_stateDisposed | s_stateDoubleClickEnabled | s_stateRightToLeftAutoMirrorImage | s_stateSupportsSpaceKey] = false;
816
bool wasSelected = _state[
s_stateSelected
];
818
_state[
s_stateSelected
| s_statePressed] = false;
1765
=> CanSelect && !DesignMode && (_state[
s_stateSelected
] ||
2520
if (_state[s_stateMouseDownAndNoDrag] || _state[s_statePressed] || _state[
s_stateSelected
])
2522
_state[s_stateMouseDownAndNoDrag | s_statePressed |
s_stateSelected
] = false;
3138
_state[
s_stateSelected
] = true;
3527
if (_state[
s_stateSelected
])
3529
_state[
s_stateSelected
] = false;