09 2018 档案

摘要:项目的结构,通常情况下项目会创建Command、Models、Services、ViewModels、Views这几个文件夹。文件夹的作用请看名字。 MainWindow的代码如下: 1 9 10 11 12 13 14 15 16 ... 阅读全文
posted @ 2018-09-18 16:55 风中寻觅 阅读(546) 评论(0) 推荐(0)
摘要:1、将App.xaml中的StartupUri="MainWindow.xaml"删除。 2、使用NuGet安装Prism.Wpf、Prism.Core、Prism.Unity。 3、添加类“Bootstrapper”,编辑如下: 4、创建文件夹Views,将MainWindow.xaml移动到此文 阅读全文
posted @ 2018-09-01 20:18 风中寻觅 阅读(626) 评论(0) 推荐(0)