private void FormKeyDown(object sender, KeyEventArgs e) { if (e.KeyCode != Keys.Delete) return; this.ButtonRemoveEnemyClick(null, null); e.Handled = true; }