WPF用MVVM框架的Demo

上传者: wangqi23 | 上传时间: 2022-05-07 20:08:03 | 文件大小: 101KB | 文件类型: RAR
刚刚研究的一个小Demo,拿来分享一下。很简洁一看就懂

文件下载

资源详情

[{"title":"( 57 个子文件 101KB ) WPF用MVVM框架的Demo","children":[{"title":"WPF.MVVMDemo","children":[{"title":"WPF.MVVMDemo","children":[{"title":"Command","children":[{"title":"MouseRightButtonDown.cs <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"UIElementMouseDoubleClickCommandBehavior.cs <span style='color:#111;'> 764B </span>","children":null,"spread":false},{"title":"Command.cs <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"CommandBehaviorBase.cs <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"UIElementMouseRightButtonDownCommandBehavior.cs <span style='color:#111;'> 760B </span>","children":null,"spread":false},{"title":"MouseDoubleClick.cs <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"App.xaml.cs <span style='color:#111;'> 308B </span>","children":null,"spread":false},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 627B </span>","children":null,"spread":false},{"title":"MainWindow.xaml <span style='color:#111;'> 487B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"View","children":[{"title":"ShowInfo.xaml.cs <span style='color:#111;'> 631B </span>","children":null,"spread":false},{"title":"UserDetail.xaml.cs <span style='color:#111;'> 637B </span>","children":null,"spread":false},{"title":"UserDetail.xaml <span style='color:#111;'> 1001B </span>","children":null,"spread":false},{"title":"ShowInfo.xaml <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"App.xaml <span style='color:#111;'> 323B </span>","children":null,"spread":false},{"title":"ViewModel","children":[{"title":"ShowInfoViewModel.cs <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"GeneratedInternalTypeHelper.g.cs <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"GenerateResource.read.1.tlog <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"WPF.MVVMDemo.pdb <span style='color:#111;'> 91.50KB </span>","children":null,"spread":false},{"title":"WPF.MVVMDemo.exe <span style='color:#111;'> 24.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"WPF.MVVMDemo_MarkupCompile.i.lref <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"MainWindow.g.cs <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"WPF.MVVMDemo.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WPF.MVVMDemo_MarkupCompile.cache <span style='color:#111;'> 295B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.18KB </span>","children":null,"spread":false},{"title":"WPF.MVVMDemo_MarkupCompile.lref <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"WPF.MVVMDemo.g.resources <span style='color:#111;'> 5.99KB </span>","children":null,"spread":false},{"title":"WPF.MVVMDemo_MarkupCompile.i.cache <span style='color:#111;'> 295B </span>","children":null,"spread":false},{"title":"App.g.i.cs <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"View","children":[{"title":"ShowInfo.g.cs <span style='color:#111;'> 3.82KB </span>","children":null,"spread":false},{"title":"Search.g.i.cs <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false},{"title":"UserDetail.g.i.cs <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false},{"title":"ShowInfo.g.i.cs <span style='color:#111;'> 3.82KB </span>","children":null,"spread":false},{"title":"UserDetail.baml <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"UserDetail.g.cs <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false},{"title":"ShowInfo.baml <span style='color:#111;'> 3.32KB </span>","children":null,"spread":false}],"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 13.15KB </span>","children":null,"spread":false},{"title":"GenerateResource.write.1.tlog <span style='color:#111;'> 332B </span>","children":null,"spread":false},{"title":"GeneratedInternalTypeHelper.g.i.cs <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"MainWindow.baml <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"WPF.MVVMDemo.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"MainWindow.g.i.cs <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"Model","children":[{"title":"UserList.cs <span style='color:#111;'> 877B </span>","children":null,"spread":false},{"title":"User.cs <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"WPF.MVVMDemo.pdb <span style='color:#111;'> 91.50KB </span>","children":null,"spread":false},{"title":"WPF.MVVMDemo.exe <span style='color:#111;'> 24.50KB </span>","children":null,"spread":false},{"title":"WPF.MVVMDemo.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"WPF.MVVMDemo.vshost.exe <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":null,"spread":false}],"spread":true},{"title":"WPF.MVVMDemo.csproj <span style='color:#111;'> 5.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"WPF.MVVMDemo.sln <span style='color:#111;'> 878B </span>","children":null,"spread":false},{"title":"WPF.MVVMDemo.suo <span style='color:#111;'> 44.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • liujiong63 :
    代码还是不错的,
    2014-08-19
  • yibu52 :
    代码还是不错的,有参考价值
    2014-06-12
  • demonpark :
    太简单了吧,感觉只值一分
    2014-06-04
  • modern1314 :
    一般一般, 代码好少 。。。但是demo能运行 给3星吧
    2013-05-02
  • apple278759681 :
    ~~·很完整的代码,没有把 ViewModelBase独立出来
    2013-03-21

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明