Copy controlls from tab to new tab
I know i cant just directly copy controls over. i know i should use a class i just don't know how to add the controls from the first tab to the class and put them on the new tab. If someone would mind throwing me in the right direction id greatly appreciate it. Thanks
edit: i used a user control. The only problem now is on the tab, its not anchored with the rest of the page... how do i accomplish this?
edit2: Very off topic from the threads topic but the same program...
For this program im using http method post to recieve messages from the server, when its waiting for a new message to be sent it locks the program up. No biggie, ill just thread the sub... Bad idea... I also have functions "send", "Connect", "disconnect". All on threads... i looked at task manager it started getting up to 100+ threads. I dont know much about threads but that just seems way to much. they will die off and the count will return to 20 but id like to find a different way of keeping the program from locking up but not having 100+ threads.. Thanks :P