137 references to A
System.Windows.Forms (10)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2927
if (!returnedValue && keyData == (Keys.Control | Keys.
A
))
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
10086
case Keys.
A
:
15685
case Keys.
A
:
24500
case Keys.
A
:
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
279
case Keys.
A
:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
2909
case Keys.
A
:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (1)
194
case Keys.
A
:
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
692
if (!returnValue && ShortcutsEnabled && (keyData == (Keys.Control | Keys.
A
)))
System\Windows\Forms\Shortcut.cs (2)
19
CtrlA = Keys.Control + Keys.
A
,
149
CtrlShiftA = Keys.Control + Keys.Shift + Keys.
A
,
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
21
Keys.
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)
1109
if (e.KeyCode == Keys.
A
&& (e.KeyData & Keys.Control) != 0)
System.Windows.Forms.Tests (125)
System\Windows\Forms\ControlTests.Methods.cs (39)
4393
yield return new object[] { Keys.
A
, false };
4423
yield return new object[] { Keys.Control | Keys.
A
, false };
4453
yield return new object[] { Keys.Alt | Keys.
A
, false };
5291
yield return new object[] { 0, Keys.
A
, false };
5297
yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.
A
, false };
5303
yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.
A
, false };
5309
yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.
A
, false };
5315
yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.
A
, false };
5321
yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.
A
, true };
5327
yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.
A
, false };
5333
yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.
A
, false };
5339
yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.
A
, false };
5380
yield return new object[] { 0, Keys.
A
, false, false, false, false, false, false, 0, 0, 0, 0, 0 };
5386
yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.
A
, true, false, false, false, false, true, 1, 0, 0, 0, 0 };
5387
yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.
A
, false, true, false, false, false, false, 1, 1, 0, 0, 0 };
5388
yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.
A
, false, false, true, false, false, true, 1, 1, 1, 0, 0 };
5389
yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.
A
, false, false, false, false, false, false, 1, 1, 1, 0, 0 };
5395
yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.
A
, true, false, false, false, false, true, 1, 0, 0, 0, 0 };
5396
yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.
A
, false, true, false, false, false, false, 1, 1, 0, 0, 0 };
5397
yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.
A
, false, false, true, false, false, true, 1, 1, 1, 0, 0 };
5398
yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.
A
, false, false, false, false, false, false, 1, 1, 1, 0, 0 };
5404
yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.
A
, false, false, false, true, false, false, 0, 0, 0, 1, 0 };
5405
yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.
A
, false, false, false, true, true, false, 0, 0, 0, 1, 0 };
5406
yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.
A
, false, false, false, false, true, true, 0, 0, 0, 1, 1 };
5407
yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.
A
, false, false, false, false, false, false, 0, 0, 0, 1, 1 };
5413
yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.
A
, false, false, false, true, false, false, 0, 0, 0, 0, 1 };
5414
yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.
A
, false, false, false, true, true, true, 0, 0, 0, 0, 1 };
5415
yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.
A
, false, false, false, false, true, true, 0, 0, 0, 0, 1 };
5416
yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.
A
, false, false, false, false, false, false, 0, 0, 0, 0, 1 };
5419
yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.
A
, false, false, false, false, false, false, 0, 0, 0, 0, 0 };
5422
yield 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)
1042
yield return new object[] { RightToLeft.Yes, valueChanged, multiline, acceptsReturn, Keys.
A
, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1043
yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.
A
, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1516
foreach (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
)]
49
KeyEventArgs e = new(Keys.
A
)
63
KeyEventArgs 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")]
92
yield 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)
749
KeyEventArgs keyEventArgs = new KeyEventArgs(Keys.
A
);
771
KeyEventArgs 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
)]
48
PreviewKeyDownEventArgs e = new(Keys.
A
)
System\Windows\Forms\SendKeysTests.cs (1)
20
Assert.Equal(Keys.
A
, form.KeyEvents[1].KeyCode);
System\Windows\Forms\TabControlTests.cs (3)
3995
yield return new object[] { Keys.
A
, false };
4020
yield return new object[] { Keys.Control | Keys.
A
, false };
4049
yield return new object[] { Keys.Alt | Keys.
A
, false };
System\Windows\Forms\ToolStripButtonTests.cs (1)
1670
[InlineData(Keys.
A
)]
System\Windows\Forms\ToolStripControlHostTests.cs (10)
4065
c.OnKeyDown(new KeyEventArgs(Keys.
A
));
4071
c.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
)]
228
Keys shortcutKeys = Keys.Control | Keys.
A
;
299
ShortcutKeys = 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)
5731
yield return new object[] { new KeyEventArgs(Keys.
A
) };
5763
yield return new object[] { false, true, false, new KeyEventArgs(Keys.
A
), 0, 0, false };
5896
yield return new object[] { true, new KeyEventArgs(Keys.
A
), true };
5901
yield return new object[] { false, new KeyEventArgs(Keys.
A
), false };
System\Windows\Forms\UpDownBaseTests.cs (2)
2357
yield return new object[] { true, userEdit, source, new KeyEventArgs(Keys.
A
), 0, 0, 0, false };
2358
yield 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)]
5809
yield 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)]