代码
MainWindow mwin = new MainWindow(); Application.Current.MainWindow = mwin; this.Close(); mwin.Show();
参考:http://bbs.csdn.net/topics/370266691
代码
MainWindow mwin = new MainWindow(); Application.Current.MainWindow = mwin; this.Close(); mwin.Show();
参考:http://bbs.csdn.net/topics/370266691