83 references to KeyDown
System.Windows.Forms (33)
System\Windows\Forms\Control.cs (1)
7592
/// 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)
936
add => base.
KeyDown
+= value;
937
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)
1842
/// 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)
37
_cloneMtb.
KeyDown
+= maskedTextBox_KeyDown;
System\Windows\Forms\Design\StringCollectionEditor.StringCollectionForm.cs (1)
60
_textEntry.
KeyDown
+= Edit1_keyDown;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
502
nameof(ToolStripPanel.
KeyDown
),
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
910
tb.
KeyDown
+= OnKeyDown;
953
((TextBox)(_centerTextBox.Control)).
KeyDown
-= OnKeyDown;
System.Windows.Forms.Tests (30)
System\Windows\Forms\ButtonBaseTests.cs (8)
5508
control.
KeyDown
+= handler;
5515
control.
KeyDown
-= handler;
5554
control.
KeyDown
+= handler;
5561
control.
KeyDown
-= handler;
5606
control.
KeyDown
+= handler;
5616
control.
KeyDown
-= handler;
5665
control.
KeyDown
+= handler;
5675
control.
KeyDown
-= handler;
System\Windows\Forms\ControlTests.Handlers.cs (2)
3004
control.
KeyDown
+= handler;
3010
control.
KeyDown
-= handler;
System\Windows\Forms\ControlTests.Methods.cs (7)
5709
control.
KeyDown
+= (sender, e) =>
5756
control.
KeyDown
+= (sender, e) =>
5813
control.
KeyDown
+= (sender, e) =>
5914
control.
KeyDown
+= (sender, e) =>
6000
control.
KeyDown
+= (sender, e) =>
6047
control.
KeyDown
+= (sender, e) =>
6104
control.
KeyDown
+= (sender, e) =>
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (7)
1555
control.
KeyDown
+= (sender, e) =>
1602
control.
KeyDown
+= (sender, e) =>
1659
control.
KeyDown
+= (sender, e) =>
1760
control.
KeyDown
+= (sender, e) =>
1846
control.
KeyDown
+= (sender, e) =>
1893
control.
KeyDown
+= (sender, e) =>
1950
control.
KeyDown
+= (sender, e) =>
System\Windows\Forms\TreeViewTests.cs (4)
5750
control.
KeyDown
+= handler;
5755
control.
KeyDown
-= handler;
5812
control.
KeyDown
+= handler;
5831
control.
KeyDown
-= handler;
System\Windows\Forms\UpDownBaseTests.cs (2)
2401
control.
KeyDown
+= handler;
2410
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)
1229
add { base.
KeyDown
+= value; }
1230
remove { base.
KeyDown
-= value; }
WinFormsControlsTest (2)
RichTextBoxes.Designer.cs (2)
46
this.richTextBox1.
KeyDown
+= this.RichTextKeyDown;
57
this.richTextBox2.
KeyDown
+= this.RichTextKeyDown;