16 references to KeyPressEventArgs
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
8819
kpe = new
KeyPressEventArgs
((char)(int)m.WParamInternal);
8831
kpe = new
KeyPressEventArgs
((char)(int)m.WParamInternal);
System.Windows.Forms.Tests (13)
System\Windows\Forms\KeyPressEventArgsTests.cs (3)
14
KeyPressEventArgs e =
new
(keyChar);
24
KeyPressEventArgs e =
new
('b')
36
KeyPressEventArgs e =
new
('a')
System\Windows\Forms\LabelTests.cs (1)
793
KeyPressEventArgs keyPressEventArgs = new
KeyPressEventArgs
('A');
System\Windows\Forms\ToolStripControlHostTests.cs (1)
4068
c.OnKeyPress(new
KeyPressEventArgs
('a'));
System\Windows\Forms\TreeViewTests.cs (6)
5850
yield return new object[] { true, new
KeyPressEventArgs
('\0'), true };
5851
yield return new object[] { true, new
KeyPressEventArgs
('a'), true };
5852
yield return new object[] { true, new
KeyPressEventArgs
(' '), true };
5854
yield return new object[] { false, new
KeyPressEventArgs
('\0'), false };
5855
yield return new object[] { false, new
KeyPressEventArgs
('a'), false };
5856
yield return new object[] { false, new
KeyPressEventArgs
(' '), true };
System\Windows\Forms\UpDownBaseTests.cs (2)
2430
yield return new object[] { null, new
KeyPressEventArgs
('a') };
2431
yield return new object[] { null, new
KeyPressEventArgs
('a') };
System.Windows.Forms.TestUtilities (1)
CommonTestHelperEx.cs (1)
134
new
('1')