Forms("窗口2").Open()Dim tab As WinForm.TabControl = Forms("窗口2").Controls("TabControl1")tab.SelectedIndex = 1