hii is it possible to create windows application with mvc
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
MVC the pattern: definitely yes! That's platform independent, really.
See some resources:
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.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
Read the http://www.objectmentor.com/resources/articles/TheHumbleDialogBox.pdf but you may want to look at WPF and MVVM