private void quitToMenu(object sender, RoutedEventArgs e) { var menu = new EndWindow("Still no winner..."); menu.ShowDialog(); }
private void endGame() { var menu = new EndWindow(game.Winner.Name); menu.ShowDialog(); }