137 references to A
System.Windows.Forms (10)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2927if (!returnedValue && keyData == (Keys.Control | Keys.A))
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
10086case Keys.A: 15685case Keys.A: 24500case Keys.A:
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
279case Keys.A:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
2909case Keys.A:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (1)
194case Keys.A:
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
692if (!returnValue && ShortcutsEnabled && (keyData == (Keys.Control | Keys.A)))
System\Windows\Forms\Shortcut.cs (2)
19CtrlA = Keys.Control + Keys.A, 149CtrlShiftA = Keys.Control + Keys.Shift + Keys.A,
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
21Keys.A, Keys.B, Keys.C, Keys.D, Keys.D0, Keys.D1, Keys.D2, Keys.D3, Keys.D4, Keys.D5, Keys.D6, Keys.D7,
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1109if (e.KeyCode == Keys.A && (e.KeyData & Keys.Control) != 0)
System.Windows.Forms.Tests (125)
System\Windows\Forms\ControlTests.Methods.cs (39)
4393yield return new object[] { Keys.A, false }; 4423yield return new object[] { Keys.Control | Keys.A, false }; 4453yield return new object[] { Keys.Alt | Keys.A, false }; 5291yield return new object[] { 0, Keys.A, false }; 5297yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.A, false }; 5303yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.A, false }; 5309yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.A, false }; 5315yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.A, false }; 5321yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.A, true }; 5327yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.A, false }; 5333yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.A, false }; 5339yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.A, false }; 5380yield return new object[] { 0, Keys.A, false, false, false, false, false, false, 0, 0, 0, 0, 0 }; 5386yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.A, true, false, false, false, false, true, 1, 0, 0, 0, 0 }; 5387yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.A, false, true, false, false, false, false, 1, 1, 0, 0, 0 }; 5388yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.A, false, false, true, false, false, true, 1, 1, 1, 0, 0 }; 5389yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.A, false, false, false, false, false, false, 1, 1, 1, 0, 0 }; 5395yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.A, true, false, false, false, false, true, 1, 0, 0, 0, 0 }; 5396yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.A, false, true, false, false, false, false, 1, 1, 0, 0, 0 }; 5397yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.A, false, false, true, false, false, true, 1, 1, 1, 0, 0 }; 5398yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.A, false, false, false, false, false, false, 1, 1, 1, 0, 0 }; 5404yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.A, false, false, false, true, false, false, 0, 0, 0, 1, 0 }; 5405yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.A, false, false, false, true, true, false, 0, 0, 0, 1, 0 }; 5406yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.A, false, false, false, false, true, true, 0, 0, 0, 1, 1 }; 5407yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.A, false, false, false, false, false, false, 0, 0, 0, 1, 1 }; 5413yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.A, false, false, false, true, false, false, 0, 0, 0, 0, 1 }; 5414yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.A, false, false, false, true, true, true, 0, 0, 0, 0, 1 }; 5415yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.A, false, false, false, false, true, true, 0, 0, 0, 0, 1 }; 5416yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.A, false, false, false, false, false, false, 0, 0, 0, 0, 1 }; 5419yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.A, false, false, false, false, false, false, 0, 0, 0, 0, 0 }; 5422yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.A, false, false, false, false, false, false, 0, 0, 0, 0, 0 }; 5527[InlineData(Keys.A)] 5537[InlineData(Keys.A)] 5551[InlineData(Keys.A, true)] 5552[InlineData(Keys.A, false)] 5629[InlineData(Keys.A)] 5638[InlineData(Keys.A)] 5651[InlineData(Keys.A, true)] 5652[InlineData(Keys.A, false)]
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (3)
1042yield return new object[] { RightToLeft.Yes, valueChanged, multiline, acceptsReturn, Keys.A, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1043yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.A, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1516foreach (IntPtr wParam in new IntPtr[] { (IntPtr)Keys.Enter, (IntPtr)Keys.LineFeed, (IntPtr)Keys.A, 2 })
System\Windows\Forms\KeyEventArgsTests.cs (7)
10[InlineData(Keys.A)] 11[InlineData(Keys.Control | Keys.A)] 12[InlineData(Keys.Alt | Keys.A)] 13[InlineData(Keys.Shift | Keys.A)] 17[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.A)] 49KeyEventArgs e = new(Keys.A) 63KeyEventArgs e = new(Keys.A)
System\Windows\Forms\KeysConverterTests.cs (4)
13[InlineData("Ctrl+Alt+Shift+A", Keys.Control | Keys.Alt | Keys.Shift | Keys.A)] 62[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.A, "Ctrl+Alt+Shift+A")] 92yield return new object[] { "ru-RU", Keys.Control | Keys.Alt | Keys.Shift | Keys.A, new Enum[] { Keys.Control, Keys.Alt, Keys.Shift, Keys.A } };
System\Windows\Forms\LabelTests.cs (2)
749KeyEventArgs keyEventArgs = new KeyEventArgs(Keys.A); 771KeyEventArgs keyEventArgs = new KeyEventArgs(Keys.A);
System\Windows\Forms\ListControlTests.cs (1)
2097[InlineData(Keys.A, false)]
System\Windows\Forms\MenuStripTests.cs (4)
680[InlineData(Keys.A)] 690[InlineData(Keys.A)] 708[InlineData(Keys.A, true)] 709[InlineData(Keys.A, false)]
System\Windows\Forms\PreviewKeyDownEventArgsTests.cs (6)
10[InlineData(Keys.A)] 11[InlineData(Keys.Control | Keys.A)] 12[InlineData(Keys.Alt | Keys.A)] 13[InlineData(Keys.Shift | Keys.A)] 17[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.A)] 48PreviewKeyDownEventArgs e = new(Keys.A)
System\Windows\Forms\SendKeysTests.cs (1)
20Assert.Equal(Keys.A, form.KeyEvents[1].KeyCode);
System\Windows\Forms\TabControlTests.cs (3)
3995yield return new object[] { Keys.A, false }; 4020yield return new object[] { Keys.Control | Keys.A, false }; 4049yield return new object[] { Keys.Alt | Keys.A, false };
System\Windows\Forms\ToolStripButtonTests.cs (1)
1670[InlineData(Keys.A)]
System\Windows\Forms\ToolStripControlHostTests.cs (10)
4065c.OnKeyDown(new KeyEventArgs(Keys.A)); 4071c.OnKeyUp(new KeyEventArgs(Keys.A)); 4193[InlineData(Keys.A)] 4207[InlineData(Keys.A, true)] 4208[InlineData(Keys.A, false)] 4234[InlineData(Keys.A)] 4250[InlineData(Keys.A)] 4267[InlineData(Keys.A, true)] 4268[InlineData(Keys.A, false)] 4294[InlineData(Keys.A)]
System\Windows\Forms\ToolStripItemTests.cs (3)
10376[InlineData(Keys.A)] 13965[InlineData(Keys.A)] 14057[InlineData(Keys.A)]
System\Windows\Forms\ToolStripMenuItemTests.cs (4)
128[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.A)] 138[InlineData(Keys.A)] 228Keys shortcutKeys = Keys.Control | Keys.A; 299ShortcutKeys = Keys.Control | Keys.A,
System\Windows\Forms\ToolStripTests.cs (4)
6902[InlineData(Keys.A)] 6912[InlineData(Keys.A)] 6930[InlineData(Keys.A, true)] 6931[InlineData(Keys.A, false)]
System\Windows\Forms\TreeViewTests.cs (4)
5731yield return new object[] { new KeyEventArgs(Keys.A) }; 5763yield return new object[] { false, true, false, new KeyEventArgs(Keys.A), 0, 0, false }; 5896yield return new object[] { true, new KeyEventArgs(Keys.A), true }; 5901yield return new object[] { false, new KeyEventArgs(Keys.A), false };
System\Windows\Forms\UpDownBaseTests.cs (2)
2357yield return new object[] { true, userEdit, source, new KeyEventArgs(Keys.A), 0, 0, 0, false }; 2358yield return new object[] { false, userEdit, source, new KeyEventArgs(Keys.A), 0, 0, 0, false };
TextBoxBaseTests.cs (22)
5206[InlineData(true, true, true, Keys.A, false)] 5237[InlineData(true, true, true, Keys.A, true)] 5809yield return new object[] { shortcutsEnabled, readOnly, Keys.A, false }; 5874[InlineData(Keys.A)] 5892[InlineData(true, false, Keys.A, true, true)] 5893[InlineData(true, false, Keys.A, false, false)] 6011[InlineData(true, Keys.A)] 6012[InlineData(false, Keys.A)] 6017[InlineData(true, Keys.Control | Keys.A)] 6018[InlineData(false, Keys.Control | Keys.A)] 6030[InlineData(true, Keys.A)] 6031[InlineData(false, Keys.A)] 6036[InlineData(true, Keys.Control | Keys.A)] 6037[InlineData(false, Keys.Control | Keys.A)] 6051[InlineData(true, Keys.A, Keys.A, true)] 6052[InlineData(false, Keys.A, Keys.A, false)] 6057[InlineData(true, Keys.Control | Keys.A, Keys.Control | Keys.A, true)] 6058[InlineData(false, Keys.Control | Keys.A, Keys.Control | Keys.A, false)]
TrackBarTests.cs (1)
2315[InlineData(Keys.A, false)]
WebBrowserBaseTests.cs (4)
800[InlineData(Keys.A)] 809[InlineData(Keys.A)] 825[InlineData(Keys.A, true)] 826[InlineData(Keys.A, false)]