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