private void button1_Click(object sender, RoutedEventArgs e) { StandardWindow window = new StandardWindow(); window.Show(); this.Close(); }