68 references to KeyEventHandler
System.Windows.Forms (31)
System\Windows\Forms\ActiveX\AxHost.cs (2)
658public new event KeyEventHandler? KeyDown 680public new event KeyEventHandler? KeyUp
System\Windows\Forms\Control.cs (5)
3847public event KeyEventHandler? KeyDown 3869public event KeyEventHandler? KeyUp 5073((KeyEventHandler?)Events[key])?.Invoke(this, e); 7638((KeyEventHandler?)Events[s_keyDownEvent])?.Invoke(this, e); 7662((KeyEventHandler?)Events[s_keyUpEvent])?.Invoke(this, e);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
327public new event KeyEventHandler? KeyUp 336public new event KeyEventHandler? KeyDown
System\Windows\Forms\Controls\Labels\Label.cs (2)
604public new event KeyEventHandler? KeyUp 613public new event KeyEventHandler? KeyDown
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
926public new event KeyEventHandler? KeyUp 934public new event KeyEventHandler? KeyDown
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (2)
505public new event KeyEventHandler? KeyUp 513public new event KeyEventHandler? KeyDown
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
1331public new event KeyEventHandler? KeyDown 1349public new event KeyEventHandler? KeyUp
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
471public new event KeyEventHandler? KeyUp 479public new event KeyEventHandler? KeyDown
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (2)
291public event KeyEventHandler? KeyDown 313public event KeyEventHandler? KeyUp
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
487public new event KeyEventHandler? KeyDown 503public new event KeyEventHandler? KeyUp
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
3073internal void RaiseKeyEvent(object key, KeyEventArgs e) => ((KeyEventHandler?)Events[key])?.Invoke(this, e);
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (2)
277public new event KeyEventHandler? KeyDown 299public new event KeyEventHandler? KeyUp
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (2)
1602public new event KeyEventHandler? KeyDown 1618public new event KeyEventHandler? KeyUp
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
858private void WireUpTextBox(ref ToolStripItem? oldTextBox, ToolStripItem? newTextBox, KeyEventHandler keyUpHandler, EventHandler lostFocusHandler)
System\Windows\Forms\Panels\Panel.cs (2)
163public new event KeyEventHandler? KeyUp 171public new event KeyEventHandler? KeyDown
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
404KeyEventHandler handler = (sender, e) =>
System.Windows.Forms.Tests (34)
System\Windows\Forms\AxHostTests.cs (2)
1092KeyEventHandler handler = (sender, e) => { }; 1110KeyEventHandler handler = (sender, e) => { };
System\Windows\Forms\ButtonBaseTests.cs (8)
5500KeyEventHandler handler = (sender, e) => 5546KeyEventHandler handler = (sender, e) => 5598KeyEventHandler handler = (sender, e) => 5657KeyEventHandler handler = (sender, e) => 5767KeyEventHandler handler = (sender, e) => 5822KeyEventHandler handler = (sender, e) => 5865KeyEventHandler handler = (sender, e) => 5934KeyEventHandler handler = (sender, e) =>
System\Windows\Forms\ControlTests.Handlers.cs (2)
2996KeyEventHandler handler = (sender, e) => 3048KeyEventHandler handler = (sender, e) =>
System\Windows\Forms\GroupBoxTests.cs (2)
1587KeyEventHandler handler = (sender, e) => 1635KeyEventHandler handler = (sender, e) =>
System\Windows\Forms\LabelTests.cs (2)
743KeyEventHandler handler = (sender, e) => 765KeyEventHandler handler = (sender, e) =>
System\Windows\Forms\PanelTests.cs (2)
894KeyEventHandler handler = (sender, e) => 942KeyEventHandler handler = (sender, e) =>
System\Windows\Forms\PictureBoxTests.cs (2)
2307KeyEventHandler handler = (sender, e) => 2355KeyEventHandler handler = (sender, e) =>
System\Windows\Forms\ProgressBarTests.cs (2)
2230KeyEventHandler handler = (sender, e) => 2278KeyEventHandler handler = (sender, e) =>
System\Windows\Forms\SplitterTests.cs (2)
1835KeyEventHandler handler = (sender, e) => 1899KeyEventHandler handler = (sender, e) =>
System\Windows\Forms\ToolStripControlHostTests.cs (2)
2877KeyEventHandler handler = (sender, e) => 2927KeyEventHandler handler = (sender, e) =>
System\Windows\Forms\ToolStripDropDownTests.cs (2)
4066KeyEventHandler handler = (sender, e) => 4114KeyEventHandler handler = (sender, e) =>
System\Windows\Forms\TreeViewTests.cs (3)
5742KeyEventHandler handler = (sender, e) => 5787KeyEventHandler handler = (sender, e) => 5912KeyEventHandler handler = (sender, e) =>
System\Windows\Forms\UpDownBaseTests.cs (1)
2393KeyEventHandler handler = (sender, e) =>
WebBrowserBaseTests.cs (2)
460KeyEventHandler handler = (sender, e) => { }; 478KeyEventHandler handler = (sender, e) => { };
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
1224public new event KeyEventHandler KeyDown 1244public new event KeyEventHandler KeyUp