Delegate KeyPressEventHandler
Represents the method that will handle the KeyPress event of a AbstractControl.
public delegate void KeyPressEventHandler(object? sender, KeyPressEventArgs e)
Parameters
sender
objectThe source of the event.
e
KeyPressEventArgsA KeyPressEventArgs that contains the event data.