private void playerListView_DoubleClick(object sender, EventArgs e) { if (playerListView.SelectedItems.Count == 1) { ViewPlayer vp = new ViewPlayer(MainForm.Players[playerListView.SelectedItems[0].SubItems[1].Text]); vp.ShowDialog(this); reload(); } }