2 writes to _shiftPressed
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (2)
978_shiftPressed = cmd.CommandID.Equals(MenuCommands.KeySizeWidthIncrease) 2107_shiftPressed = false;
17 references to _shiftPressed
System.Windows.Forms.Design (17)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (17)
1195if (_shiftPressed && ShiftPrimaryItem is not null) 1208if (_shiftPressed && ShiftPrimaryItem is not null) 1237if (_shiftPressed && ShiftPrimaryItem is not null) 1310if (_shiftPressed && ShiftPrimaryItem is not null) 1335if (_shiftPressed && ShiftPrimaryItem is not null) 1413if (_shiftPressed && SelectionService.GetComponentSelected(targetSelection)) 1456if (_shiftPressed && SelectionService.GetComponentSelected(targetSelection)) 1776if (_shiftPressed && ShiftPrimaryItem is not null) 1837if (_shiftPressed && ShiftPrimaryItem is not null) 1884if (_shiftPressed) 1918if (_shiftPressed && SelectionService.GetComponentSelected(targetSelection)) 1934if (_shiftPressed) 1946if (_shiftPressed && SelectionService.GetComponentSelected(targetSelection)) 2059if (!_shiftPressed) 2075if (!_shiftPressed) 2089if (!_shiftPressed) 2103ToolStripDesignerUtils.InvalidateSelection(origSel, targetSelection as ToolStripItem, _provider, _shiftPressed);