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