Пример #1
0
        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();
        }
Пример #2
0
        private void gameGalaxyBtn_Click(object sender, EventArgs e)
        {
            GOGGame game = (GOGGame)this.gamesList.SelectedValue;

            GOGGalaxy.open(game);
        }