Did you read my mind or did I read yours ?!?!

On Jun 19, 8:53 pm, Joe Enos <[email protected]> wrote:
> Step 1: Punch the person who decided to make your large application
> all on a single form.
>
> Step 2: Assuming you're keeping the one-form concept, and that you're
> on .NET 2+, you can use partial classes to break up the logical
> functions of your site - maybe one codefile per tab, or however you
> decide.
>
> Most of the logical code should be elsewhere anyway - if there's any
> business logic happening on the form code, consider moving that to a
> separate class, or project, and make sure your form's codebehind is as
> simple as possible, just calling the methods that need to be called,
> instead of actually doing the work.
>
> On Jun 18, 3:59 am, 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?- Hide quoted text -
>
> - Show quoted text -

Reply via email to