public static bool AddPeriod(Window owner, Game game)
        {
            AddPeriodWindow windows = new AddPeriodWindow
            {
                Owner = owner,
                Game  = game
            };

            return(windows.ShowDialog() == true ? true : false);
        }
Ejemplo n.º 2
0
 private bool OnAddExtraPeriod(object input, object output)
 {
     return(AddPeriodWindow.AddPeriod(this, (Game)input));
 }