12 references to ShiftKey
System.Windows.Forms (9)
System\Windows\Forms\Control.cs (1)
2514
if (PInvoke.GetKeyState((int)Keys.
ShiftKey
) < 0)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
694
case Keys.
ShiftKey
:
937
if (PInvoke.GetKeyState((int)Keys.
ShiftKey
) < 0 && (keyData == Keys.None))
System\Windows\Forms\SendKeys\SendKeys.cs (6)
140
AddEvent(new SKEvent(PInvokeCore.WM_KEYDOWN, (uint)Keys.
ShiftKey
, startNewChar, hwnd));
199
AddEvent(new SKEvent(PInvokeCore.WM_KEYUP, (int)Keys.
ShiftKey
, false, hwnd));
488
AddEvent(new SKEvent(PInvokeCore.WM_KEYDOWN, (uint)Keys.
ShiftKey
, s_startNewChar, hwnd));
529
AddEvent(new SKEvent(PInvokeCore.WM_KEYDOWN, (uint)Keys.
ShiftKey
, s_startNewChar, hwnd));
778
if (skEvent.ParamL == (int)Keys.
ShiftKey
)
794
AddEvent(new SKEvent(PInvokeCore.WM_KEYUP, (int)Keys.
ShiftKey
, false, default));
System.Windows.Forms.Tests (3)
KeyboardTooltipStateMachineTests.cs (3)
53
[InlineData(Keys.ControlKey | Keys.
ShiftKey
| Keys.F10)]
82
[InlineData(Keys.ControlKey | Keys.
ShiftKey
| Keys.F10, true)]
85
[InlineData(Keys.ControlKey | Keys.
ShiftKey
| Keys.F10, false)]