Ejemplo n.º 1
0
        public bool?EditGames(IEnumerable <IGame> games)
        {
            var window = new GameEditWindow()
            {
                Games = games,
                Owner = Application.Current.MainWindow
            };

            window.ShowDialog();
            return(window.DialogResult);
        }
Ejemplo n.º 2
0
        public bool?EditGame(IGame game)
        {
            var window = new GameEditWindow()
            {
                Game  = game,
                Owner = Application.Current.MainWindow
            };

            window.ShowDialog();
            return(window.DialogResult);
        }