//Called when user clicks Add/Manage players from the players tab private void buttonShowAddPlayersDlg_Click(object sender, EventArgs e) { ManagePlayers playersdlg = new ManagePlayers(); playersdlg.ShowDialog(); //Repopulate players list, since data for the unassigned players may have changed. populatePlayersLists(); }
//Called on user click Manage->Players private void playersToolStripMenuItem_Click(object sender, EventArgs e) { ManagePlayers dlgManagePlayers = new ManagePlayers(); dlgManagePlayers.ShowDialog(); }