Since you want the TextBox visible on each of the tab pages, I would go for one of these two possibilities: 1) -with Designer (or programmatically) add the TextBox on the first tab page (say it is named "textName1"), and leave the same place free on all other tab pages - programmatically add the SAME TextBox to the other tab pages. Something like:
bool firstPage=true;
foreach (TabPage page in myTabControl) {
if (!firstPage) page.Controls.Add(textName1);
firstPage=false;
}
Of course you could also use the tab page names explicitly:
tabPage2.Control.Add(textName1);
tabPage3.Control.Add(textName1);
tabPage4.Control.Add(textName1);
or 2) do not add the TextBox to one or more tab pages, but add it to the form that is holding the tab control (not "to the tab control" as I had put in my previous post, that was slightly wrong, really to the form holding the tab control). In both cases, there is only one TextBox control, it is named textName1, so you have to set its text only once, have to save its text only once, etc. :)
Luc Pattyn