how to create windows application with mvc

2019-05-27 06:03发布

hii is it possible to create windows application with mvc

4条回答
女痞
3楼-- · 2019-05-27 06:35

Keep only user interface code in the Form object(s). Any interaction between the UI and the data or manipulation of the data should go in its own controller class(es). The domain objects or the data itself is the model.

查看更多
【Aperson】
4楼-- · 2019-05-27 06:42

MVP (Model-View-Presenter) and MVP-VM (Model-View-Presenter-ViewModel) is used most often with WinForms.

See SO question: MVP examples for Windows Forms

Dan Bunea's Blog Post: Model View Presenter

Jeremy D. Miller's Blog Post: A Simple Example of the "Humble Dialog Box"

Referance: Mitch Wheat

查看更多
We Are One
5楼-- · 2019-05-27 06:43

Read the http://www.objectmentor.com/resources/articles/TheHumbleDialogBox.pdf but you may want to look at WPF and MVVM

查看更多
登录 后发表回答