Windows 窗体的 MVP 示例 [英] MVP examples for Windows Forms

查看:30
本文介绍了Windows 窗体的 MVP 示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有很好的示例代码或测试项目来解释 模型-视图-演示者 (MVP) 模式.有很多解释链接,但我想有一些很好的示例代码向其他人展示,而无需重新发明轮子.

Is there good example code or a test project for explaining the Model–view–presenter (MVP) pattern. There are a lot of explanation links, but I want to have some good example code to show others without reinventing the wheel.

推荐答案

Jeremy Miller 的构建您自己的 CAB"系列非常棒.您将获得大量 MVP(以及其他一些智能客户端模式,例如 Pub/Sub).

Jeremy Miller's "Build your own CAB" series is fantastic. You get a nice dose of MVP (along with some other smart client patterns such as Pub/Sub).

http://codebetter.com/blogs/jeremy.miller/archive/2007/07/25/the-build-your-own-cab-series-table-of-contents.aspx

这篇关于Windows 窗体的 MVP 示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆