private void Button_Click(object sender, RoutedEventArgs e) { SingUp SingUp = new SingUp(); this.Close(); SingUp.Show(); }