Click here to Skip to main content
13,091,145 members (51,202 online)
Rate this:
Please Sign up or sign in to 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 25-Jun-13 21:50pm
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
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 26 Jun 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100