Наследование: System.Windows.Forms.Form
Пример #1
0
        /// <summary>
        /// Opens game finder form
        /// </summary>
        /// <param name="sender">object</param>
        /// <param name="e">EventArgs</param>
        private void lblFindGames_Click(object sender, EventArgs e)
        {
            var gameWindow = new gameForm();

            gameWindow.ShowDialog();

            var games = gameWindow.mGamesSelected;

            if (games.Count > 0)
            {
                foreach (var game in games)
                {
                    mActiveAccount.Games.Add(game.id);
                }

                RefreshGameList();
            }

            gameWindow.Close();
        }
Пример #2
0
        /// <summary>
        /// Opens game finder form
        /// </summary>
        /// <param name="sender">object</param>
        /// <param name="e">EventArgs</param>
        private void lblFindGames_Click(object sender, EventArgs e)
        {
            var gameWindow = new gameForm();
            gameWindow.ShowDialog();

            var games = gameWindow.mGamesSelected;
            if (games.Count > 0)
            {
                foreach (var game in games)
                    mActiveAccount.Games.Add(game.id);

                RefreshGameList();
            }

            gameWindow.Close();
        }