Exemplo n.º 1
0
        private void btnFetchGameList_Click(object sender, EventArgs e)
        {
            ownedGames = SteamManager.GetOwnedGames();

            comboBoxGameList.Items.Clear();
            foreach (Game game in ownedGames)
            {
                comboBoxGameList.Items.Add(game.Name);
            }
            comboBoxGameList.SelectedIndex = 0;
        }
Exemplo n.º 2
0
 private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
 {
     ownedGames = SteamManager.GetOwnedGames();
 }