private void Button_Click(object sender, RoutedEventArgs e) { var win = new Window5(); win.Show(); Close(); }