24 references to Menu
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (4)
2523
if (PInvoke.GetKeyState((int)Keys.
Menu
) < 0)
8964
if (keyCode is not Keys.F10 and not Keys.
Menu
and not Keys.Tab)
8988
if (keyCode is Keys.F10 or Keys.
Menu
)
12817
|| IsKeyDown(Keys.
Menu
, stateArray)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
691
case Keys.
Menu
:
712
=> (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)
4382
yield return new object[] { Keys.
Menu
, false };
4412
yield return new object[] { Keys.Control | Keys.
Menu
, false };
4442
yield return new object[] { Keys.Alt | Keys.
Menu
, false };
5262
yield return new object[] { 0, Keys.
Menu
, false };
5268
yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.
Menu
, true };
5274
yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.
Menu
, true };
5280
yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.
Menu
, false };
5286
yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.
Menu
, false };
5292
yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.
Menu
, true };
5298
yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.
Menu
, false };
5304
yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.
Menu
, false };
5310
yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.
Menu
, false };