83 references to KeyDown
System.Windows.Forms (33)
System\Windows\Forms\Control.cs (1)
7625
/// Raises the <see cref="
KeyDown
"/> event.
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
338
add => base.
KeyDown
+= value;
339
remove => base.
KeyDown
-= value;
System\Windows\Forms\Controls\Labels\Label.cs (2)
615
add => base.
KeyDown
+= value;
616
remove => base.
KeyDown
-= value;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
935
add => base.
KeyDown
+= value;
936
remove => base.
KeyDown
-= value;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (2)
515
add => base.
KeyDown
+= value;
516
remove => base.
KeyDown
-= value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (3)
251
_dialogButton.
KeyDown
+= OnButtonKeyDown;
286
_editTextBox.
KeyDown
+= OnEditKeyDown;
322
_listBox.
KeyDown
+= OnListKeyDown;
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
481
add => base.
KeyDown
+= value;
482
remove => base.
KeyDown
-= value;
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
1836
/// Raises the <see cref="Control.
KeyDown
"/> event.
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (2)
726
control.
KeyDown
+= HandleKeyDown;
771
control.
KeyDown
-= HandleKeyDown;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
489
add => base.
KeyDown
+= value;
490
remove => base.
KeyDown
-= value;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
56
_upDownEdit.
KeyDown
+= OnTextBoxKeyDown;
590
/// Raises the <see cref="Control.
KeyDown
"/> event.
System\Windows\Forms\Input\KeyEventArgs.cs (5)
7
/// Provides data for the <see cref="Control.
KeyDown
"/> or
38
/// Gets the keyboard code for a <see cref="Control.
KeyDown
"/> or
58
/// Gets the keyboard value for a <see cref="Control.
KeyDown
"/> or
64
/// Gets the key data for a <see cref="Control.
KeyDown
"/> or
70
/// Gets the modifier flags for a <see cref="Control.
KeyDown
"/> or
System\Windows\Forms\Input\KeyEventHandler.cs (1)
8
/// or <see cref="Control.
KeyDown
"/> event of a
System\Windows\Forms\Input\PreviewKeyDownEventArgs.cs (4)
17
/// Gets the key data for a <see cref="Control.
KeyDown
"/>
30
/// Gets the keyboard code for a <see cref="Control.
KeyDown
"/>
48
/// Gets the keyboard value for a <see cref="Control.
KeyDown
"/>
54
/// Gets the modifier flags for a <see cref="Control.
KeyDown
"/>
System\Windows\Forms\Panels\Panel.cs (2)
173
add => base.
KeyDown
+= value;
174
remove => base.
KeyDown
-= value;
System.Windows.Forms.Design (14)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
375
_listBox.
KeyDown
+= ListBox_keyDown;
System\ComponentModel\Design\DateTimeEditor.DateTimeUI.cs (1)
65
_monthCalendar.
KeyDown
+= MonthCalKeyDown;
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (2)
59
listBox.
KeyDown
+= OnListBoxKeyDown;
117
listBox.
KeyDown
-= OnListBoxKeyDown;
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
55
_textBox.
KeyDown
+= OnTextBoxKeyDown;
System\Drawing\Design\ColorEditor.ColorUI.cs (2)
188
_lbSystem.
KeyDown
+= OnListKeyDown;
202
_lbCommon.
KeyDown
+= OnListKeyDown;
System\Drawing\Design\SelectionPanelBase.cs (1)
139
radioButton.
KeyDown
+= OnKeyDown;
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
97
_maskedTextBox.
KeyDown
+= maskedTextBox_KeyDown;
System\Windows\Forms\Design\MaskedTextBoxTextEditorDropDown.cs (1)
35
_cloneMtb.
KeyDown
+= maskedTextBox_KeyDown;
System\Windows\Forms\Design\StringCollectionEditor.StringCollectionForm.cs (1)
60
_textEntry.
KeyDown
+= Edit1_keyDown;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
496
nameof(ToolStripPanel.
KeyDown
),
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
877
tb.
KeyDown
+= OnKeyDown;
920
((TextBox)(_centerTextBox.Control)).
KeyDown
-= OnKeyDown;
System.Windows.Forms.Tests (30)
System\Windows\Forms\ButtonBaseTests.cs (8)
5510
control.
KeyDown
+= handler;
5517
control.
KeyDown
-= handler;
5556
control.
KeyDown
+= handler;
5563
control.
KeyDown
-= handler;
5608
control.
KeyDown
+= handler;
5618
control.
KeyDown
-= handler;
5667
control.
KeyDown
+= handler;
5677
control.
KeyDown
-= handler;
System\Windows\Forms\ControlTests.Handlers.cs (2)
3006
control.
KeyDown
+= handler;
3012
control.
KeyDown
-= handler;
System\Windows\Forms\ControlTests.Methods.cs (7)
5678
control.
KeyDown
+= (sender, e) =>
5725
control.
KeyDown
+= (sender, e) =>
5782
control.
KeyDown
+= (sender, e) =>
5883
control.
KeyDown
+= (sender, e) =>
5969
control.
KeyDown
+= (sender, e) =>
6016
control.
KeyDown
+= (sender, e) =>
6073
control.
KeyDown
+= (sender, e) =>
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (7)
1557
control.
KeyDown
+= (sender, e) =>
1604
control.
KeyDown
+= (sender, e) =>
1661
control.
KeyDown
+= (sender, e) =>
1762
control.
KeyDown
+= (sender, e) =>
1848
control.
KeyDown
+= (sender, e) =>
1895
control.
KeyDown
+= (sender, e) =>
1952
control.
KeyDown
+= (sender, e) =>
System\Windows\Forms\TreeViewTests.cs (4)
5752
control.
KeyDown
+= handler;
5757
control.
KeyDown
-= handler;
5814
control.
KeyDown
+= handler;
5833
control.
KeyDown
-= handler;
System\Windows\Forms\UpDownBaseTests.cs (2)
2403
control.
KeyDown
+= handler;
2412
control.
KeyDown
-= handler;
System.Windows.Forms.UI.IntegrationTests (2)
Infra\ScreenRecordService.cs (2)
576
form.
KeyDown
+= OnInteraction;
590
form.
KeyDown
-= OnInteraction;
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
1219
add { base.
KeyDown
+= value; }
1220
remove { base.
KeyDown
-= value; }
WinFormsControlsTest (2)
RichTextBoxes.Designer.cs (2)
46
this.richTextBox1.
KeyDown
+= this.RichTextKeyDown;
57
this.richTextBox2.
KeyDown
+= this.RichTextKeyDown;