Click here to Skip to main content
15,877,754 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionStructuring Windows Forms apps... [modified] Pin
1.21 Gigawatts8-Dec-09 2:25
1.21 Gigawatts8-Dec-09 2:25 
AnswerRe: Structuring Windows Forms apps... Pin
Luc Pattyn8-Dec-09 5:15
sitebuilderLuc Pattyn8-Dec-09 5:15 
GeneralRe: Structuring Windows Forms apps... Pin
1.21 Gigawatts8-Dec-09 5:29
1.21 Gigawatts8-Dec-09 5:29 
GeneralRe: Structuring Windows Forms apps... Pin
Luc Pattyn8-Dec-09 5:45
sitebuilderLuc Pattyn8-Dec-09 5:45 
GeneralRe: Structuring Windows Forms apps... Pin
Roger Wright8-Dec-09 18:46
professionalRoger Wright8-Dec-09 18:46 
GeneralRe: Structuring Windows Forms apps... Pin
Luc Pattyn9-Dec-09 2:52
sitebuilderLuc Pattyn9-Dec-09 2:52 
GeneralRe: Structuring Windows Forms apps... Pin
Roger Wright9-Dec-09 18:48
professionalRoger Wright9-Dec-09 18:48 
AnswerRe: Structuring Windows Forms apps... Pin
vtchris-peterson8-Dec-09 9:26
vtchris-peterson8-Dec-09 9:26 
It's good that you're thinking about this now while your code base is small Smile | :)

I find that Windows Forms code is pretty easy to keep tidy. If you feel like a given class is getting untidy, it's probably time to decompose it into simpler components. That said, don't over-decompose to start with as this creates unnecessary levels of indirection. Defer refactoring until it makes sense (e.g. if you want to re-use common functionality in multiple places).

The best tip I can give is to be rigorous about namespace organization and use meaningful type names so that someone else (or you 6 months from now) can know where to start looking.
GeneralRe: Structuring Windows Forms apps... Pin
1.21 Gigawatts8-Dec-09 19:15
1.21 Gigawatts8-Dec-09 19:15 
GeneralRe: Structuring Windows Forms apps... Pin
Ashfield11-Dec-09 3:37
Ashfield11-Dec-09 3:37 
GeneralRe: Structuring Windows Forms apps... Pin
vtchris-peterson11-Dec-09 4:06
vtchris-peterson11-Dec-09 4:06 
GeneralRe: Structuring Windows Forms apps... Pin
Ashfield11-Dec-09 9:33
Ashfield11-Dec-09 9:33 
QuestionSame form opens every time Pin
Ozzone7-Dec-09 13:12
Ozzone7-Dec-09 13:12 
AnswerRe: Same form opens every time Pin
Mycroft Holmes7-Dec-09 13:29
professionalMycroft Holmes7-Dec-09 13:29 
GeneralRe: Same form opens every time Pin
Ashfield7-Dec-09 21:00
Ashfield7-Dec-09 21:00 
Questionon successful login, close login screen and activate MDI screen Pin
S.Aijaz6-Dec-09 20:38
S.Aijaz6-Dec-09 20:38 
AnswerRe: on successful login, close login screen and activate MDI screen Pin
dan!sh 6-Dec-09 21:40
professional dan!sh 6-Dec-09 21:40 
AnswerRe: on successful login, close login screen and activate MDI screen Pin
Dave Kreskowiak7-Dec-09 6:20
mveDave Kreskowiak7-Dec-09 6:20 
QuestionIdentifying system process Pin
srikantha_nagaraj5-Dec-09 19:45
srikantha_nagaraj5-Dec-09 19:45 
AnswerRe: Identifying system process Pin
dan!sh 5-Dec-09 20:12
professional dan!sh 5-Dec-09 20:12 
QuestionTreeview Populate Parent/Child From Database with Multiple Tables Pin
lam115824-Dec-09 6:32
lam115824-Dec-09 6:32 
QuestionHelp provider+win Form Pin
Ramkumar_S2-Dec-09 20:13
Ramkumar_S2-Dec-09 20:13 
QuestionResizable Form Without FormBorderStyle (None) Pin
m_chopsquad1-Dec-09 13:07
m_chopsquad1-Dec-09 13:07 
AnswerRe: Resizable Form Without FormBorderStyle (None) Pin
Richard Blythe3-Dec-09 14:28
Richard Blythe3-Dec-09 14:28 
Questiondata grid view Pin
Ramkumar_S25-Nov-09 15:19
Ramkumar_S25-Nov-09 15:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.