Exemplo n.º 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();
     }
 }
Exemplo n.º 2
0
 private void trainNationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var form = new PlayerListWindow(null, m_nations, null, m_trainSets,
                                            TrainNationSelectNation))
     {
         form.ShowDialog();
     }
 }
Exemplo n.º 3
0
 private void SelectTrainSet(Nation nation)
 {
     using (var form = new PlayerListWindow(null, m_nations, nation, m_trainSets,
                                            GameAction.TrainNationSelectTrainSet))
     {
         form.ShowDialog();
     }
 }