private void KeyCombinationQuit(object sender, KeyEventArgs e) { if (e.Alt && e.KeyCode == Keys.F4) { e.Handled = true; QuitButton.PerformClick(); } }