24 references to Menu
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (4)
2524
if (PInvoke.GetKeyState((int)Keys.
Menu
) < 0)
8930
if (keyCode is not Keys.F10 and not Keys.
Menu
and not Keys.Tab)
8954
if (keyCode is Keys.F10 or Keys.
Menu
)
12792
|| IsKeyDown(Keys.
Menu
, stateArray)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
692
case Keys.
Menu
:
713
=> (keyData & Keys.KeyCode) is Keys.
Menu
or Keys.F10;
System\Windows\Forms\SendKeys\SendKeys.cs (6)
154
AddEvent(new SKEvent(PInvokeCore.WM_KEYDOWN, (uint)Keys.
Menu
, startNewChar, hwnd));
211
AddEvent(new SKEvent(PInvokeCore.WM_SYSKEYUP, (int)Keys.
Menu
, false, hwnd));
502
AddEvent(new SKEvent(PInvokeCore.WM_KEYDOWN, (uint)Keys.
Menu
, s_startNewChar, hwnd));
553
(int)Keys.
Menu
,
786
else if (skEvent.ParamL == (int)Keys.
Menu
)
802
AddEvent(new SKEvent(PInvokeCore.WM_SYSKEYUP, (int)Keys.
Menu
, false, default));
System.Windows.Forms.Tests (12)
System\Windows\Forms\ControlTests.Methods.cs (12)
4413
yield return new object[] { Keys.
Menu
, false };
4443
yield return new object[] { Keys.Control | Keys.
Menu
, false };
4473
yield return new object[] { Keys.Alt | Keys.
Menu
, false };
5293
yield return new object[] { 0, Keys.
Menu
, false };
5299
yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.
Menu
, true };
5305
yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.
Menu
, true };
5311
yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.
Menu
, false };
5317
yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.
Menu
, false };
5323
yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.
Menu
, true };
5329
yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.
Menu
, false };
5335
yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.
Menu
, false };
5341
yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.
Menu
, false };