3 references to GetControl
System.Windows.Forms.Tests (3)
System\Windows\Forms\TabControlTests.cs (3)
3622Assert.Same(control.TabPages[index], control.GetControl(index)); 3633Assert.Throws<ArgumentOutOfRangeException>("index", () => control.GetControl(index)); 3647Assert.Throws<ArgumentOutOfRangeException>("index", () => control.GetControl(index));