Constructor KeyPressEventArgs
KeyPressEventArgs(char)
Initializes a new instance of the KeyPressEventArgs class with the specified key character.
public KeyPressEventArgs(char keyChar)
Parameters
keyCharchar
KeyPressEventArgs(object, char)
Initializes a new instance of the KeyPressEventArgs class with the specified key character and original target.
public KeyPressEventArgs(object originalTarget, char keyChar)