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