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)
10087case Keys.A: 15702case Keys.A: 24520case 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)
4402yield return new object[] { Keys.A, false }; 4432yield return new object[] { Keys.Control | Keys.A, false }; 4462yield return new object[] { Keys.Alt | Keys.A, false }; 5300yield return new object[] { 0, Keys.A, false }; 5306yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.A, false }; 5312yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.A, false }; 5318yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.A, false }; 5324yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.A, false }; 5330yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.A, true }; 5336yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.A, false }; 5342yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.A, false }; 5348yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.A, false }; 5389yield return new object[] { 0, Keys.A, false, false, false, false, false, false, 0, 0, 0, 0, 0 }; 5395yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.A, true, false, false, false, false, true, 1, 0, 0, 0, 0 }; 5396yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.A, false, true, false, false, false, false, 1, 1, 0, 0, 0 }; 5397yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.A, false, false, true, false, false, true, 1, 1, 1, 0, 0 }; 5398yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.A, false, false, false, false, false, false, 1, 1, 1, 0, 0 }; 5404yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.A, true, false, false, false, false, true, 1, 0, 0, 0, 0 }; 5405yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.A, false, true, false, false, false, false, 1, 1, 0, 0, 0 }; 5406yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.A, false, false, true, false, false, true, 1, 1, 1, 0, 0 }; 5407yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.A, false, false, false, false, false, false, 1, 1, 1, 0, 0 }; 5413yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.A, false, false, false, true, false, false, 0, 0, 0, 1, 0 }; 5414yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.A, false, false, false, true, true, false, 0, 0, 0, 1, 0 }; 5415yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.A, false, false, false, false, true, true, 0, 0, 0, 1, 1 }; 5416yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.A, false, false, false, false, false, false, 0, 0, 0, 1, 1 }; 5422yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.A, false, false, false, true, false, false, 0, 0, 0, 0, 1 }; 5423yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.A, false, false, false, true, true, true, 0, 0, 0, 0, 1 }; 5424yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.A, false, false, false, false, true, true, 0, 0, 0, 0, 1 }; 5425yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.A, false, false, false, false, false, false, 0, 0, 0, 0, 1 }; 5428yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.A, false, false, false, false, false, false, 0, 0, 0, 0, 0 }; 5431yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.A, false, false, false, false, false, false, 0, 0, 0, 0, 0 }; 5536[InlineData(Keys.A)] 5546[InlineData(Keys.A)] 5560[InlineData(Keys.A, true)] 5561[InlineData(Keys.A, false)] 5638[InlineData(Keys.A)] 5647[InlineData(Keys.A)] 5660[InlineData(Keys.A, true)] 5661[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)
10357[InlineData(Keys.A)] 13946[InlineData(Keys.A)] 14038[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)]