摘要: 在App.xaml.cs中重写方法OnStartup 若涉及到MainWindow,则应在App.xaml中删除代码StartupUri="MainWindow.xaml",然后在OnStartup实例化MainWindow,以免出现两个MainWindow 阅读全文
posted @ 2017-02-12 13:21 幽缭 阅读(1841) 评论(0) 推荐(0) 编辑