11 references to SelectTab
System.Windows.Forms (1)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1687SelectTab(tabPage);
System.Windows.Forms.Tests (10)
System\Windows\Forms\TabControlTests.cs (10)
3031control.SelectTab(page1); 5201control.SelectTab(page2); 5211control.SelectTab(page2); 5221control.SelectTab(page1); 5262control.SelectTab(page2); 5281control.SelectTab(page2); 5300control.SelectTab(page1); 5323Assert.Throws<ArgumentNullException>("tabPage", () => control.SelectTab((TabPage)null)); 5331Assert.Throws<ArgumentOutOfRangeException>("index", () => control.SelectTab(page)); 5343Assert.Throws<ArgumentOutOfRangeException>("index", () => control.SelectTab(page3));