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)
338add => base.KeyDown += value; 339remove => base.KeyDown -= value;
System\Windows\Forms\Controls\Labels\Label.cs (2)
615add => base.KeyDown += value; 616remove => base.KeyDown -= value;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
936add => base.KeyDown += value; 937remove => base.KeyDown -= value;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (2)
515add => base.KeyDown += value; 516remove => 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)
481add => base.KeyDown += value; 482remove => 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)
726control.KeyDown += HandleKeyDown; 771control.KeyDown -= HandleKeyDown;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
489add => base.KeyDown += value; 490remove => 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)
173add => base.KeyDown += value; 174remove => 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)
59listBox.KeyDown += OnListBoxKeyDown; 117listBox.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)
139radioButton.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)
502nameof(ToolStripPanel.KeyDown),
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
910tb.KeyDown += OnKeyDown; 953((TextBox)(_centerTextBox.Control)).KeyDown -= OnKeyDown;
System.Windows.Forms.Tests (30)
System\Windows\Forms\ButtonBaseTests.cs (8)
5508control.KeyDown += handler; 5515control.KeyDown -= handler; 5554control.KeyDown += handler; 5561control.KeyDown -= handler; 5606control.KeyDown += handler; 5616control.KeyDown -= handler; 5665control.KeyDown += handler; 5675control.KeyDown -= handler;
System\Windows\Forms\ControlTests.Handlers.cs (2)
3004control.KeyDown += handler; 3010control.KeyDown -= handler;
System\Windows\Forms\ControlTests.Methods.cs (7)
5709control.KeyDown += (sender, e) => 5756control.KeyDown += (sender, e) => 5813control.KeyDown += (sender, e) => 5914control.KeyDown += (sender, e) => 6000control.KeyDown += (sender, e) => 6047control.KeyDown += (sender, e) => 6104control.KeyDown += (sender, e) =>
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (7)
1555control.KeyDown += (sender, e) => 1602control.KeyDown += (sender, e) => 1659control.KeyDown += (sender, e) => 1760control.KeyDown += (sender, e) => 1846control.KeyDown += (sender, e) => 1893control.KeyDown += (sender, e) => 1950control.KeyDown += (sender, e) =>
System\Windows\Forms\TreeViewTests.cs (4)
5750control.KeyDown += handler; 5755control.KeyDown -= handler; 5812control.KeyDown += handler; 5831control.KeyDown -= handler;
System\Windows\Forms\UpDownBaseTests.cs (2)
2401control.KeyDown += handler; 2410control.KeyDown -= handler;
System.Windows.Forms.UI.IntegrationTests (2)
Infra\ScreenRecordService.cs (2)
576form.KeyDown += OnInteraction; 590form.KeyDown -= OnInteraction;
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
1229add { base.KeyDown += value; } 1230remove { base.KeyDown -= value; }
WinFormsControlsTest (2)
RichTextBoxes.Designer.cs (2)
46this.richTextBox1.KeyDown += this.RichTextKeyDown; 57this.richTextBox2.KeyDown += this.RichTextKeyDown;