Dim tab As WinForm.TabControl = e.Form.Controls("TabControl1")For i As Integer = 0 To tab.TabPages.count - 1 If tab.TabPages(i).Text = "页面标题" Then tab.SelectedIndex = i Exit For End IfNext