private void Button_Click_5(object sender, RoutedEventArgs e) { Window3 obj = new Window3(); this.Hide(); obj.Show(); }
private void ContinueB_Click(object sender, RoutedEventArgs e) { if (game.IsPlayer1Initiated && game.IsPlayer2Initiated) { Window3 a = new Window3(); a.Activate(); a.Visibility = Visibility.Visible; this.Close(); } }