Home  /  Questions  /  Question

50   50
Mar 04, 2012

Where can I find MVC / MVP implementation samples

Hello dofactory,

I'm looking for a well documented implementation of MVC or MVP for Windows Forms. 
Will any of your products help me?

Thank you.

50   50
Aug 08, 2012
Maybe not an answer on your question. But try to look at WPF and MVVM if you want testable UI.
I think WPF can do the same as WinForms but the databinding is better implemented (in WPF) so you can divide the View better from the Model and logic.
Just keep in mind that the drawing of the screen (by the runtime) is different. WPF is vector based system and winforms not.

377   99.9
Jun 14, 2012
I have written a blog post on this very topic.
Please have a look here: http://spradip.wordpress.com/2010/12/27/172/

280   99.8
Apr 03, 2012
Hello Fabio,

developing a WinForms application with the MVC-pattern in mind is not that simple. Mainly because WinForms relies heavily on its CodeBehinde-files. However, there had been a project in Codeplex, where someone tried to make a sample WinForms MVC application. Unfortunatelly, the project hasn't got updated since 2009. The link to the Codeplex-project is http://winformsmvc.codeplex.com .