Click here to Skip to main content
11,496,146 members (365 online)
The site is currently in read-only mode for maintenance. Posting of new items will be available again shortly.
See more: C# Design architecture Patterns , +
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 22:50pm
Comments
Victor Rene at 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 at 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
0 Sergey Alexandrovich Kryukov 10,401
1 OriginalGriff 8,910
2 Sascha Lefèvre 3,899
3 Maciej Los 3,422
4 Richard Deeming 2,600


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 26 Jun 2013
Copyright © CodeProject, 1999-2015
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