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)
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)
935add => base.KeyDown += value; 936remove => 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)
1836/// 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)
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)
496nameof(ToolStripPanel.KeyDown),
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
877tb.KeyDown += OnKeyDown; 920((TextBox)(_centerTextBox.Control)).KeyDown -= OnKeyDown;
System.Windows.Forms.Tests (30)
System\Windows\Forms\ButtonBaseTests.cs (8)
5510control.KeyDown += handler; 5517control.KeyDown -= handler; 5556control.KeyDown += handler; 5563control.KeyDown -= handler; 5608control.KeyDown += handler; 5618control.KeyDown -= handler; 5667control.KeyDown += handler; 5677control.KeyDown -= handler;
System\Windows\Forms\ControlTests.Handlers.cs (2)
3006control.KeyDown += handler; 3012control.KeyDown -= handler;
System\Windows\Forms\ControlTests.Methods.cs (7)
5678control.KeyDown += (sender, e) => 5725control.KeyDown += (sender, e) => 5782control.KeyDown += (sender, e) => 5883control.KeyDown += (sender, e) => 5969control.KeyDown += (sender, e) => 6016control.KeyDown += (sender, e) => 6073control.KeyDown += (sender, e) =>
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (7)
1557control.KeyDown += (sender, e) => 1604control.KeyDown += (sender, e) => 1661control.KeyDown += (sender, e) => 1762control.KeyDown += (sender, e) => 1848control.KeyDown += (sender, e) => 1895control.KeyDown += (sender, e) => 1952control.KeyDown += (sender, e) =>
System\Windows\Forms\TreeViewTests.cs (4)
5752control.KeyDown += handler; 5757control.KeyDown -= handler; 5814control.KeyDown += handler; 5833control.KeyDown -= handler;
System\Windows\Forms\UpDownBaseTests.cs (2)
2403control.KeyDown += handler; 2412control.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)
1219add { base.KeyDown += value; } 1220remove { base.KeyDown -= value; }
WinFormsControlsTest (2)
RichTextBoxes.Designer.cs (2)
46this.richTextBox1.KeyDown += this.RichTextKeyDown; 57this.richTextBox2.KeyDown += this.RichTextKeyDown;