Here is what I have learned so far working with winform for the past three months. I use VS.NET designer to create all the UI.
First, never ever create UI directly on the initial frame. Plan ahead by using Group control or the Panel control, then put the controls in those "Parent" control.
Secondly, create User Control for if you need to*space space*the form into multiple sections in one screen. This is a totally OOP approach which things easier to manage specially when the form is big. However, I have seen a winform with over 100 controls in a single class.
The application is deisgn is essentially driven by the GUI. Design invisiable (data layer, security class etc) after the there are well-thought and designed UI.
Follow those steps you should have less headache ahead of your development. Good luck. Your feedbacks are welcome. |