24 references to Menu
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (4)
2525
if (PInvoke.GetKeyState((int)Keys.
Menu
) < 0)
8966
if (keyCode is not Keys.F10 and not Keys.
Menu
and not Keys.Tab)
8990
if (keyCode is Keys.F10 or Keys.
Menu
)
12819
|| 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)
4422
yield return new object[] { Keys.
Menu
, false };
4452
yield return new object[] { Keys.Control | Keys.
Menu
, false };
4482
yield return new object[] { Keys.Alt | Keys.
Menu
, false };
5302
yield return new object[] { 0, Keys.
Menu
, false };
5308
yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.
Menu
, true };
5314
yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.
Menu
, true };
5320
yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.
Menu
, false };
5326
yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.
Menu
, false };
5332
yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.
Menu
, true };
5338
yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.
Menu
, false };
5344
yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.
Menu
, false };
5350
yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.
Menu
, false };