Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void Form1_KeyDown(object sender, KeyEventArgs e)
- {
- if (e.Alt && e.KeyCode == Keys.E)
- {
- button2_Click(null, null);
- }
- }
- private void button2_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
- }
- }
Add Comment
Please, Sign In to add comment