I making a winform game which contain PictureBoxes as views.
When i started to get confused about “where to put things around” (especially in the case that i needed to make some objects make the picturebox222 refresh and activate by that its painting event)
Then i heard of architecture patterns… the MVC, MVP, MVVM
which of those patterns can help me in my task? and why?
I’ll also be glad to get advise of a good place to learn about the pattern i need.
Thanks,
Gal
Model View Presenter is a pattern you can use. MVC is for web applications, MVVM for WPF apps.
A good starting point for learning MVP is WinForms Model View Presenter @ codeproject and MSDN MVP.
A lot of the articles and tutorials about MVP deal with ASP.NET Webforms but can easily transfered to WinForms since they have a lot in common.
But when developing a game you should consider a more appropiate platform like XNA.