private void BackButton_Click(object sender, RoutedEventArgs e) { StartWindow window = new StartWindow(); window.Show(); Window.GetWindow(this).Close(); }