private void Back(object sender, RoutedEventArgs e) { Startowa start = new Startowa(); this.Close(); start.Show(); }
// button - start private void Button_Click(object sender, RoutedEventArgs e) { // open game panel Startowa start = new Startowa(); this.Close(); start.Show(); }