private void OpenWindowTournament(Tournament tournament)
        {
            var window = new TournamentPlayWindow(tournament, _fileManager);

            window.Show();
            Close();
        }
Example #2
0
 private void ClickStart(object sender, RoutedEventArgs e)
 {
     if (_tournament == null)
     {
         var window = new WindowAddPlayers(_fileManager);
         window.Show();
         Close();
     }
     else
     {
         var window = new TournamentPlayWindow(_tournament, _fileManager);
         window.Show();
         Close();
     }
 }