public LaunchingForm(String gameid) { InitializeComponent(); GOGGame game = GOGRegistry.Game(gameid); this.gameName.Text = game?.Name; this.gameIcon.ImageLocation = game?.Icon; new Thread(new ThreadStart(() => GOGGalaxy.launch(gameid, this.Exit))).Start(); }
private void gameGalaxyBtn_Click(object sender, EventArgs e) { GOGGame game = (GOGGame)this.gamesList.SelectedValue; GOGGalaxy.open(game); }