if I understood you correctly you had created tabpages dynamically. that is you are not aware of tabpage name or indexes and what you want is to navigate to next tabpage when a button is clicked is nt it?
it should be something like this
int tabCount = tabControl1.TabPages.Count;
int currentindex = int.parse (tabcontrolname.GetActiveTabIndex().tostring());
if(tabCount >currentindex )
{
this.tabControl1.SelectedTab = tabControl1.TabPages[currentindex +1];
}
else if (tabCount =currentindex )
{
this.tabControl1.SelectedTab = tabControl1.TabPages[0];
}
since I don't have vs this is not compiled or tested code take this as idea only