Dim newPage As New TabPage TabControl1.TabPages.Add(newPage) newPage.Text = "あいうえお" newPage.BackColor = Color.Red TabControl1.SelectedTab = newPage
TabControl1.TabPages.Add("NewPage", "あいうえお") TabControl1.TabPages("NewPage").BackColor = Color.Blue TabControl1.SelectedTab = TabControl1.TabPages("NewPage")