PureMVP

所属分类:C#编程
开发工具:C#
文件大小:60KB
下载次数:29
上传日期:2011-07-12 20:23:16
上 传 者古月龙山
说明:  在C# WinForm编程过程中,我们往往按Visual Studio2003/2005/2008工具对Windows Forms的默认处理方式,将业务逻辑和视图紧密的融合在一起。比如我们双击一个Button按钮,然后它的事件里编写处理逻辑,必要时将处理的数据写会Model模型中。这样的做法一则不利于单元测试,往往靠手工点击界面来测试,至于以测试驱动开发就更难实现了。二者也不利于代码重用。提供使用MVP模式开发的例子
(MVP Demo)

文件列表:
Common\AssemblyInfo.cs (2426, 2006-07-04)
Common\bin (0, 2006-07-04)
Common\bin\Release (0, 2006-07-04)
Common\bin\Release\Common.dll (16384, 2006-07-04)
Common\IUserModel.cs (224, 2006-07-04)
Common\IUserView.cs (218, 2006-07-04)
Common\Library.csproj (4053, 2006-07-04)
Common\Library.csproj.user (1803, 2006-07-04)
Common (0, 2006-07-04)
Driver\App.ico (1078, 2006-07-04)
Driver\AssemblyInfo.cs (2426, 2006-07-04)
Driver\bin (0, 2006-07-04)
Driver\bin\Release (0, 2006-07-04)
Driver\bin\Release\Common.dll (16384, 2006-07-04)
Driver\bin\Release\Driver.exe (20480, 2006-07-04)
Driver\bin\Release\MVP.dll (24576, 2006-07-04)
Driver\Driver.csproj (5174, 2006-07-04)
Driver\Driver.csproj.user (1803, 2006-07-04)
Driver\Form1.cs (2323, 2006-07-04)
Driver\Form1.resx (6992, 2006-07-04)
Driver (0, 2006-07-04)
MVP\App.ico (1078, 2006-07-04)
MVP\AssemblyInfo.cs (2426, 2006-07-04)
MVP\bin (0, 2006-07-04)
MVP\bin\Release (0, 2006-07-04)
MVP\bin\Release\Common.dll (16384, 2006-07-04)
MVP\bin\Release\MVP.dll (24576, 2006-07-04)
MVP\MVP.csproj (5300, 2006-07-04)
MVP\MVP.csproj.user (1804, 2006-07-04)
MVP\UserModel.cs (581, 2006-07-04)
MVP\UserPresenter.cs (2223, 2006-07-04)
MVP\UserView.cs (4849, 2006-07-04)
MVP\UserView.resx (9828, 2006-07-04)
MVP (0, 2006-07-04)
MVP.Tests\AssemblyInfo.cs (2426, 2006-07-04)
MVP.Tests\bin (0, 2006-07-04)
MVP.Tests\bin\Debug\Common.dll (16384, 2006-07-04)
MVP.Tests\bin\Debug\MVP.dll (28672, 2006-07-04)
MVP.Tests\bin\Debug\MVP.Tests.dll (16384, 2006-07-04)
MVP.Tests\bin\Debug\MVP.Tests.pdb (15872, 2006-07-04)
... ...

近期下载者

相关文件


收藏者