Looking for clean WinForms MVC tutorial for C#
Solution 1
Derick Bailey (via Los Techies) has blogged some fantastic articles (and complete demo source code) for his implementation of MVP in a WinForms app with a couple of other good patterns added to the mix (Application Controller, Event Aggregator).
The work is inspired by Jeremy D Miller's series of articles titled 'Build Your Own CAB'
Solution 2
It might be worth looking at the Model-View-ViewModel (if you're interested/happy to use WPF particularly).
It's tweaked specifically to work with WPF and Silverlight, and makes use of databinding in order to glue everything together.
There's a number of resources on the web for finding out more, including John Gossman's introduction, and a good article by Josh Smith, who has other resources on his blog relating to MVVM.
Comments
-
s5804 almost 4 years
How to create a rich user interface Windows application, example Photo Shop.
I am looking for clean MVC tutorial for WinForms with C# somewhere. (Not ASP.NET MVC.)
Being new on the Windows Platform; most MSDN and internet tutorials basically puts everything into the Form class. Further Default events are handled inside of the form, instead of sending events to the control/model, which in it's turn changes the view's state.
Or is the preferred methodology for Windows Applications something else?