private void deletePlayerToolStripMenuItem_Click(object sender, EventArgs e) { using (var form = new PlayerListWindow(m_game.Players, null, null, null, DeletePlayer)) { form.ShowDialog(); RefreshPlayerListBox(); } }
private void trainNationToolStripMenuItem_Click(object sender, EventArgs e) { using (var form = new PlayerListWindow(null, m_nations, null, m_trainSets, TrainNationSelectNation)) { form.ShowDialog(); } }
private void SelectTrainSet(Nation nation) { using (var form = new PlayerListWindow(null, m_nations, nation, m_trainSets, GameAction.TrainNationSelectTrainSet)) { form.ShowDialog(); } }