这代码切换到指定的页面:
Dim tab As WinForm.TabControl = e.Form.Controls("TabControl1")tab.SelectedIndex = 1
我需要用代码切换到指定页面名称的页面.代码应该如何写?