Represents the method that will handle the events of the Keyboard class.
| C# | Visual Basic | Visual C++ |
public delegate void KeyEventHandler( Object sender, KeyEventArgs e )
Public Delegate Sub KeyEventHandler ( _ sender As Object, _ e As KeyEventArgs _ )
public delegate void KeyEventHandler( Object^ sender, KeyEventArgs^ e )
- sender (Object)
- The source of the event.
- e (KeyEventArgs)
- A KeyEventArgs that contains the event data.
