Guest User

Untitled

a guest
May 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. public void Form1_KeyDown(object sender, KeyEventArgs e)
  2. {
  3. if (e.Alt && e.KeyCode == Keys.E)
  4. {
  5. button2_Click(null, null);
  6. }
  7. }
  8.  
  9.  
  10.  
  11. private void button2_Click(object sender, EventArgs e)
  12. {
  13. Application.Exit();
  14. }
  15. }
  16. }
Add Comment
Please, Sign In to add comment