Guest User

Untitled

a guest
May 27th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. private void Form_KeyDown(object sender, KeyEventArgs e)
  2. {
  3. if (e.KeyCode == Keys.Escape)
  4. {
  5. Process.GetCurrentProcess().Kill();
  6. }
  7. }
Add Comment
Please, Sign In to add comment