Skip to content

Instantly share code, notes, and snippets.

@Kapulara

Kapulara/file.cs Secret

Created Oct 28, 2015
Embed
What would you like to do?
public StartForm()
{
InitializeComponent();
_interceptor = new KeyboardInterceptor();
_interceptor.KeyDown += KeyDownEvent;
_interceptor.StartCapturing();
}
private void KeyDownEvent(object sender, KeyEventArgs e)
{
Console.WriteLine(e.KeyCode);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.