I think that you want to segregate the code into logical portions, rather than to consolidate it !
If you're on .NET 2+, you could use Partial classes and divide the code into different code files based on a logical division of the functionality. My recommendation however, would be to evaluate what part of the code really belongs in the UI... i.e., to divide your code into tiers and extract the functional code into class libraries. If you're using .NET 3+, you can leverage WPF to separate your UI from code in a very intuitive manner. On Jun 18, 3:59 pm, airwot4 <[email protected]> wrote: > I have a Windows Forms application where everything is current stored > in one form and a tabcontrol is used to provide the bulk of the UI. > Currently the code is all in one file and is becoming unmanagable. > What approaches could I take to consolidate it?
