Example #1
0
        public static bool AddGames(Window owner, Score score, GameList newGames)
        {
            AddGamesWindow windows = new AddGamesWindow
            {
                Owner    = owner,
                Score    = score,
                NewGames = newGames
            };

            return(windows.ShowDialog() == true ? true : false);
        }
Example #2
0
 private bool OnAddGames(object input, object output)
 {
     return(AddGamesWindow.AddGames(this, (Score)input, (GameList)output));
 }