137 references to A
System.Windows.Forms (10)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2929if (!returnedValue && keyData == (Keys.Control | Keys.A))
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
10084case Keys.A: 15699case Keys.A: 24517case Keys.A:
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
277case Keys.A:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
2903case Keys.A:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (1)
197case 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)
4362yield return new object[] { Keys.A, false }; 4392yield return new object[] { Keys.Control | Keys.A, false }; 4422yield return new object[] { Keys.Alt | Keys.A, false }; 5260yield return new object[] { 0, Keys.A, false }; 5266yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.A, false }; 5272yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.A, false }; 5278yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.A, false }; 5284yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.A, false }; 5290yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.A, true }; 5296yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.A, false }; 5302yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.A, false }; 5308yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.A, false }; 5349yield return new object[] { 0, Keys.A, false, false, false, false, false, false, 0, 0, 0, 0, 0 }; 5355yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.A, true, false, false, false, false, true, 1, 0, 0, 0, 0 }; 5356yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.A, false, true, false, false, false, false, 1, 1, 0, 0, 0 }; 5357yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.A, false, false, true, false, false, true, 1, 1, 1, 0, 0 }; 5358yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.A, false, false, false, false, false, false, 1, 1, 1, 0, 0 }; 5364yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.A, true, false, false, false, false, true, 1, 0, 0, 0, 0 }; 5365yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.A, false, true, false, false, false, false, 1, 1, 0, 0, 0 }; 5366yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.A, false, false, true, false, false, true, 1, 1, 1, 0, 0 }; 5367yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.A, false, false, false, false, false, false, 1, 1, 1, 0, 0 }; 5373yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.A, false, false, false, true, false, false, 0, 0, 0, 1, 0 }; 5374yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.A, false, false, false, true, true, false, 0, 0, 0, 1, 0 }; 5375yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.A, false, false, false, false, true, true, 0, 0, 0, 1, 1 }; 5376yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.A, false, false, false, false, false, false, 0, 0, 0, 1, 1 }; 5382yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.A, false, false, false, true, false, false, 0, 0, 0, 0, 1 }; 5383yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.A, false, false, false, true, true, true, 0, 0, 0, 0, 1 }; 5384yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.A, false, false, false, false, true, true, 0, 0, 0, 0, 1 }; 5385yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.A, false, false, false, false, false, false, 0, 0, 0, 0, 1 }; 5388yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.A, false, false, false, false, false, false, 0, 0, 0, 0, 0 }; 5391yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.A, false, false, false, false, false, false, 0, 0, 0, 0, 0 }; 5496[InlineData(Keys.A)] 5506[InlineData(Keys.A)] 5520[InlineData(Keys.A, true)] 5521[InlineData(Keys.A, false)] 5598[InlineData(Keys.A)] 5607[InlineData(Keys.A)] 5620[InlineData(Keys.A, true)] 5621[InlineData(Keys.A, false)]
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (3)
1044yield return new object[] { RightToLeft.Yes, valueChanged, multiline, acceptsReturn, Keys.A, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1045yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.A, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1518foreach (IntPtr wParam in new IntPtr[] { (IntPtr)Keys.Enter, (IntPtr)Keys.LineFeed, (IntPtr)Keys.A, 2 })
System\Windows\Forms\KeyEventArgsTests.cs (7)
12[InlineData(Keys.A)] 13[InlineData(Keys.Control | Keys.A)] 14[InlineData(Keys.Alt | Keys.A)] 15[InlineData(Keys.Shift | Keys.A)] 19[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.A)] 51KeyEventArgs e = new(Keys.A) 65KeyEventArgs e = new(Keys.A)
System\Windows\Forms\KeysConverterTests.cs (4)
15[InlineData("Ctrl+Alt+Shift+A", Keys.Control | Keys.Alt | Keys.Shift | Keys.A)] 34[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.A, "Ctrl+Alt+Shift+A")] 51yield 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)
751KeyEventArgs keyEventArgs = new KeyEventArgs(Keys.A); 773KeyEventArgs keyEventArgs = new KeyEventArgs(Keys.A);
System\Windows\Forms\ListControlTests.cs (1)
2099[InlineData(Keys.A, false)]
System\Windows\Forms\MenuStripTests.cs (4)
682[InlineData(Keys.A)] 692[InlineData(Keys.A)] 710[InlineData(Keys.A, true)] 711[InlineData(Keys.A, false)]
System\Windows\Forms\PreviewKeyDownEventArgsTests.cs (6)
12[InlineData(Keys.A)] 13[InlineData(Keys.Control | Keys.A)] 14[InlineData(Keys.Alt | Keys.A)] 15[InlineData(Keys.Shift | Keys.A)] 19[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.A)] 50PreviewKeyDownEventArgs e = new(Keys.A)
System\Windows\Forms\SendKeysTests.cs (1)
22Assert.Equal(Keys.A, form.KeyEvents[1].KeyCode);
System\Windows\Forms\TabControlTests.cs (3)
3997yield return new object[] { Keys.A, false }; 4022yield return new object[] { Keys.Control | Keys.A, false }; 4051yield return new object[] { Keys.Alt | Keys.A, false };
System\Windows\Forms\ToolStripButtonTests.cs (1)
1672[InlineData(Keys.A)]
System\Windows\Forms\ToolStripControlHostTests.cs (10)
4067c.OnKeyDown(new KeyEventArgs(Keys.A)); 4073c.OnKeyUp(new KeyEventArgs(Keys.A)); 4195[InlineData(Keys.A)] 4209[InlineData(Keys.A, true)] 4210[InlineData(Keys.A, false)] 4236[InlineData(Keys.A)] 4252[InlineData(Keys.A)] 4269[InlineData(Keys.A, true)] 4270[InlineData(Keys.A, false)] 4296[InlineData(Keys.A)]
System\Windows\Forms\ToolStripItemTests.cs (3)
10359[InlineData(Keys.A)] 13948[InlineData(Keys.A)] 14040[InlineData(Keys.A)]
System\Windows\Forms\ToolStripMenuItemTests.cs (4)
126[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.A)] 136[InlineData(Keys.A)] 226Keys shortcutKeys = Keys.Control | Keys.A; 297ShortcutKeys = Keys.Control | Keys.A,
System\Windows\Forms\ToolStripTests.cs (4)
6904[InlineData(Keys.A)] 6914[InlineData(Keys.A)] 6932[InlineData(Keys.A, true)] 6933[InlineData(Keys.A, false)]
System\Windows\Forms\TreeViewTests.cs (4)
5733yield return new object[] { new KeyEventArgs(Keys.A) }; 5765yield return new object[] { false, true, false, new KeyEventArgs(Keys.A), 0, 0, false }; 5898yield return new object[] { true, new KeyEventArgs(Keys.A), true }; 5903yield return new object[] { false, new KeyEventArgs(Keys.A), false };
System\Windows\Forms\UpDownBaseTests.cs (2)
2359yield return new object[] { true, userEdit, source, new KeyEventArgs(Keys.A), 0, 0, 0, false }; 2360yield return new object[] { false, userEdit, source, new KeyEventArgs(Keys.A), 0, 0, 0, false };
TextBoxBaseTests.cs (22)
5208[InlineData(true, true, true, Keys.A, false)] 5239[InlineData(true, true, true, Keys.A, true)] 5811yield return new object[] { shortcutsEnabled, readOnly, Keys.A, false }; 5876[InlineData(Keys.A)] 5894[InlineData(true, false, Keys.A, true, true)] 5895[InlineData(true, false, Keys.A, false, false)] 6013[InlineData(true, Keys.A)] 6014[InlineData(false, Keys.A)] 6019[InlineData(true, Keys.Control | Keys.A)] 6020[InlineData(false, Keys.Control | Keys.A)] 6032[InlineData(true, Keys.A)] 6033[InlineData(false, Keys.A)] 6038[InlineData(true, Keys.Control | Keys.A)] 6039[InlineData(false, Keys.Control | Keys.A)] 6053[InlineData(true, Keys.A, Keys.A, true)] 6054[InlineData(false, Keys.A, Keys.A, false)] 6059[InlineData(true, Keys.Control | Keys.A, Keys.Control | Keys.A, true)] 6060[InlineData(false, Keys.Control | Keys.A, Keys.Control | Keys.A, false)]
TrackBarTests.cs (1)
2317[InlineData(Keys.A, false)]
WebBrowserBaseTests.cs (4)
802[InlineData(Keys.A)] 811[InlineData(Keys.A)] 827[InlineData(Keys.A, true)] 828[InlineData(Keys.A, false)]