Пример #1
0
        private void btn_AddGame_Click(object sender, EventArgs e)
        {
            FindGameForm form = new FindGameForm(gameManager);

            if (form.ShowDialog() == DialogResult.OK)
            {
                // Update the game list?
                list_Games.DataSource = null;
                list_Games.DataSource = gameManager.User.Games;
            }
        }
Пример #2
0
 private void btn_AddGame_Click(object sender, EventArgs e)
 {
     FindGameForm form = new FindGameForm(gameManager);
     if (form.ShowDialog() == DialogResult.OK)
     {
         // Update the game list?
         list_Games.DataSource = null;
         list_Games.DataSource = gameManager.User.Games;
     }
 }