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