public FormAddNewGame(long steamID) { InitializeComponent(); SteamManager.Init(steamID); if (SteamManager.IsSteamProfile) { BtnFetchGameList.Enabled = true; comboBoxGameList.Enabled = true; BtnAddSteamGame.Enabled = true; } }
public FormMain(string profileName, long steamID) { ProfileName = profileName; InitializeComponent(); SteamManager.Init(steamID); if (SteamManager.IsSteamProfile) { btnFetchGameList.Enabled = true; comboBoxGameList.Enabled = true; BtnAddSteamGame.Enabled = true; } LoadGameList(); }