private void X_O(object sender, RoutedEventArgs e) { FirstWindow cross_null = new FirstWindow(); cross_null.Show(); this.Close(); }
private void New_Game(object sender, RoutedEventArgs e) { FirstWindow new_game = new FirstWindow(); if (MessageBox.Show("Start new game ?", "Question", MessageBoxButton.YesNo, MessageBoxImage.Warning) == MessageBoxResult.Yes) { new_game.Show(); this.Close(); } }