private void listViewPlayer_KeyUp(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Delete) deleteSelectedPlayer(); }