Remove or add the TabPage
void Toggle()
{
if (tabControl1.TabPages.Contains(tabPage1))
tabControl1.TabPages.Remove(tabPage1);
else
tabControl1.TabPages.Add(tabPage1);
}
Alternative use TabPages.Insert(index, tabPage)
if you want to specify the position.