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); }
private bool OnAddGames(object input, object output) { return(AddGamesWindow.AddGames(this, (Score)input, (GameList)output)); }