标签:
代码
MainWindow mwin = new MainWindow(); Application.Current.MainWindow = mwin; this.Close(); mwin.Show();
参考:http://bbs.csdn.net/topics/370266691
WPF登陆窗口、主窗口切换问题
原文地址:http://www.cnblogs.com/xcsn/p/4549378.html