51 references to KeyPress
System.Windows.Forms (25)
System\Windows\Forms\Control.cs (1)
7601
/// Raises the <see cref="
KeyPress
"/> event.
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
347
add => base.
KeyPress
+= value;
348
remove => base.
KeyPress
-= value;
System\Windows\Forms\Controls\Labels\Label.cs (2)
624
add => base.
KeyPress
+= value;
625
remove => base.
KeyPress
-= value;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
944
add => base.
KeyPress
+= value;
945
remove => base.
KeyPress
-= value;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (2)
523
add => base.
KeyPress
+= value;
524
remove => base.
KeyPress
-= value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
287
_editTextBox.
KeyPress
+= OnEditKeyPress;
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
489
add => base.
KeyPress
+= value;
490
remove => base.
KeyPress
-= value;
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
1954
/// Raises the <see cref="Control.
KeyPress
"/> event.
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (2)
727
control.
KeyPress
+= HandleKeyPress;
772
control.
KeyPress
-= HandleKeyPress;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
497
add => base.
KeyPress
+= value;
498
remove => base.
KeyPress
-= value;
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
335
/// Handles the <see cref="Control.
KeyPress
"/>
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
57
_upDownEdit.
KeyPress
+= OnTextBoxKeyPress;
620
/// Raises the <see cref="Control.
KeyPress
"/> event.
System\Windows\Forms\Input\KeyPressEventArgs.cs (2)
7
/// Provides data for the <see cref="Control.
KeyPress
"/> event.
25
/// Gets or sets a value indicating whether the <see cref="Control.
KeyPress
"/> event was handled.
System\Windows\Forms\Input\KeyPressEventHandler.cs (1)
7
/// Represents a method that will handle the <see cref="Control.
KeyPress
"/>
System\Windows\Forms\Panels\Panel.cs (2)
181
add => base.
KeyPress
+= value;
182
remove => base.
KeyPress
-= value;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
530
_selectedColumns.
KeyPress
+= selectedColumns_KeyPress;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
503
nameof(ToolStripPanel.
KeyPress
),
System.Windows.Forms.Tests (22)
System\Windows\Forms\ControlTests.Handlers.cs (2)
3030
control.
KeyPress
+= handler;
3036
control.
KeyPress
-= handler;
System\Windows\Forms\ControlTests.Methods.cs (8)
5700
control.
KeyPress
+= (sender, e) =>
5747
control.
KeyPress
+= (sender, e) =>
5804
control.
KeyPress
+= (sender, e) =>
5849
control.
KeyPress
+= (sender, e) =>
5908
control.
KeyPress
+= (sender, e) =>
5991
control.
KeyPress
+= (sender, e) =>
6038
control.
KeyPress
+= (sender, e) =>
6095
control.
KeyPress
+= (sender, e) =>
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (8)
1546
control.
KeyPress
+= (sender, e) =>
1593
control.
KeyPress
+= (sender, e) =>
1650
control.
KeyPress
+= (sender, e) =>
1695
control.
KeyPress
+= (sender, e) =>
1754
control.
KeyPress
+= (sender, e) =>
1837
control.
KeyPress
+= (sender, e) =>
1884
control.
KeyPress
+= (sender, e) =>
1941
control.
KeyPress
+= (sender, e) =>
System\Windows\Forms\TreeViewTests.cs (2)
5874
control.
KeyPress
+= handler;
5880
control.
KeyPress
-= handler;
System\Windows\Forms\UpDownBaseTests.cs (2)
2448
control.
KeyPress
+= handler;
2454
control.
KeyPress
-= handler;
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
1239
add { base.
KeyPress
+= value; }
1240
remove { base.
KeyPress
-= value; }