Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have GUI application to manipulate files with numbers and display them in single graph.
It´s C#, .Net Framework 4.0, Win Forms application.
It is based on user interaction :
I press button, competent event occurs and some logic will manipulate data, win forms and graph.

My questions are:
What design pattern should I use ?
Is it necessary to use design pattern for application with less than +-7000 lines of code ?
What are your suggestions?



I have read something about MVC, MVP and MVVP. MVP seems to be a good start, but it is a bit confusing. Is there any good piece of code of how to implement for example single button, button_click event and some logic with it ?
I know there are many articles on this, but please be patient with me.
Posted
Comments
Victor Rene 26-Jun-13 7:15am    
If you don't have a lot of experience with the design patterns, my advice would be to PRACTICE them. Then, you will understand the subtleties and will be able to make better design decisions. You need to fail to learn. Now if I were to do something like that I would try to not over-engineer and Keep It Simple Stupid! Use separation of concerns for data and visualization, you should be able to evolve the GUI if you need to later on.
John C Rayan 27-Feb-15 6:39am    
You don't have to use design pattern if you want to and it is nothing to do with the number of lines of code in your project. Design pattern gives you guidelines for solving recurring problem over the years experienced by other developers. They are proven so you could apply them in you project. Hope it helps.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900