MainWindow mwin = new MainWindow();
Application.Current.MainWindow = mwin;
this.Close();
mwin.Show();

 

相关文章: