Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have a big form with a tabcontrol with a lot of tabs(20). But when I'm developping my program I'm facing during developping a lot of time spent during saving the project, because of the fact that I have on ONE form around 300 controls allready. So what do I have to do to spend not so much time.

 

Maybe this is an idea: For each tab I can create a FORM which I can include in my tab. But how do I do this programmatically???

 

Thanks

 

Nico

Visit http://www.nico.gotdns.com

 

Now ONLINE!

  • *Experts*
Posted

No tab control should ever have 20 tabs on it; that's usually very poor design (I'd have to see it to judge, but I can tell you right now it's probably pretty bad).

 

To answer your question, there's no real easy way to do that... you could make it add all the controls onto the tab programatically, but the problem arises when you have code in the controls. To do what you're suggesting you'd need to program your own designer as well as some sort of Windows Forms host.

 

My suggestion is that you break the program down into small forms that are related in function, rather than try to cram everything onto one big form.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...