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