Click here to Skip to main content
15,902,910 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to tell if running under VS service host? Pin
JoeRip3-Jan-07 2:18
JoeRip3-Jan-07 2:18 
QuestionMulti tab interface question? Pin
TrooperIronMan2-Jan-07 13:31
TrooperIronMan2-Jan-07 13:31 
AnswerRe: Multi tab interface question? Pin
Nader Elshehabi2-Jan-07 13:41
Nader Elshehabi2-Jan-07 13:41 
GeneralRe: Multi tab interface question? Pin
TrooperIronMan3-Jan-07 1:38
TrooperIronMan3-Jan-07 1:38 
GeneralRe: Multi tab interface question? Pin
TrooperIronMan3-Jan-07 3:28
TrooperIronMan3-Jan-07 3:28 
GeneralRe: Multi tab interface question? Pin
Nader Elshehabi3-Jan-07 4:14
Nader Elshehabi3-Jan-07 4:14 
GeneralRe: Multi tab interface question? Pin
TrooperIronMan3-Jan-07 6:41
TrooperIronMan3-Jan-07 6:41 
GeneralRe: Multi tab interface question? Pin
Nader Elshehabi3-Jan-07 13:06
Nader Elshehabi3-Jan-07 13:06 
You'd have to create a UserControl project, inherit it from TabPage control, and put all the controls you'd want programatically. Sorry you can't use the designer to make that template TabPage.

Another way is to make the template TabPage as the first in the TabControl, but hidden. You can use this code snippet to copy your template page into a new one:
TabPage NewPage = new TabPage();
Control[] TempArray = new Control[MyTemplateTabPage.Controls.Count];
MyTemplateTabPage.Controls.CopyTo(TempArray, 0);
MyNewTabPage.Controls.AddRange(TempArray);
//Access some control in the new tabpage
((WebBrowser)MyNewTabPage.Controls["MyBrowser"]).Navigate(SomeUrl);

I hope this helps.

RegardsRose | [Rose]

QuestionControl Panel applets Pin
dsovino2-Jan-07 11:54
dsovino2-Jan-07 11:54 
AnswerRe: Control Panel applets Pin
Nader Elshehabi2-Jan-07 12:32
Nader Elshehabi2-Jan-07 12:32 
GeneralRe: Control Panel applets Pin
dsovino2-Jan-07 12:39
dsovino2-Jan-07 12:39 
Questionwhant to compile pascal document for c# Pin
conemajstor2-Jan-07 11:33
conemajstor2-Jan-07 11:33 
AnswerRe: whant to compile pascal document for c# Pin
Christian Graus2-Jan-07 16:00
protectorChristian Graus2-Jan-07 16:00 
GeneralRe: whant to compile pascal document for c# Pin
Uwe Keim2-Jan-07 20:35
sitebuilderUwe Keim2-Jan-07 20:35 
QuestionHow to assign a new Main Form!?? Pin
ferdna2-Jan-07 11:08
ferdna2-Jan-07 11:08 
AnswerRe: How to assign a new Main Form!?? Pin
Colin Angus Mackay2-Jan-07 11:22
Colin Angus Mackay2-Jan-07 11:22 
GeneralRe: How to assign a new Main Form!?? Pin
ferdna2-Jan-07 11:46
ferdna2-Jan-07 11:46 
GeneralRe: How to assign a new Main Form!?? Pin
Colin Angus Mackay2-Jan-07 12:01
Colin Angus Mackay2-Jan-07 12:01 
GeneralRe: How to assign a new Main Form!?? Pin
ferdna2-Jan-07 12:10
ferdna2-Jan-07 12:10 
GeneralRe: How to assign a new Main Form!?? Pin
Colin Angus Mackay2-Jan-07 12:14
Colin Angus Mackay2-Jan-07 12:14 
GeneralRe: How to assign a new Main Form!?? Pin
ferdna2-Jan-07 12:24
ferdna2-Jan-07 12:24 
GeneralRe: How to assign a new Main Form!?? Pin
JoeRip2-Jan-07 13:53
JoeRip2-Jan-07 13:53 
GeneralRe: How to assign a new Main Form!?? Pin
ferdna15-Jan-07 10:45
ferdna15-Jan-07 10:45 
AnswerRe: How to assign a new Main Form!?? Pin
ferdna15-Jan-07 10:46
ferdna15-Jan-07 10:46 
QuestionHow to check that the registry key exists Pin
CodeItWell2-Jan-07 11:06
CodeItWell2-Jan-07 11:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.