8 instantiations of ControlCollection
System.Windows.Forms (1)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
954return new ControlCollection(this);
System.Windows.Forms.Tests (7)
System\Windows\Forms\TabControl.ControlCollectionTests.cs (7)
17var collection = new TabControl.ControlCollection(owner); 26Assert.Throws<ArgumentNullException>("owner", () => new TabControl.ControlCollection(null)); 874var collection = new TabControl.ControlCollection(owner); 883var collection = new TabControl.ControlCollection(owner); 896var collection = new TabControl.ControlCollection(owner) 994var collection = new TabControl.ControlCollection(owner) 1454var collection = new TabControl.ControlCollection(owner);
41 references to ControlCollection
System.Windows.Forms.Tests (41)
System\Windows\Forms\TabControl.ControlCollectionTests.cs (40)
17var collection = new TabControl.ControlCollection(owner); 47TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 170TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 330TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 471TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 665TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 699TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 722TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 733TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 764TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 832TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 874var collection = new TabControl.ControlCollection(owner); 883var collection = new TabControl.ControlCollection(owner); 896var collection = new TabControl.ControlCollection(owner) 994var collection = new TabControl.ControlCollection(owner) 1121TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 1233TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 1357TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 1394TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 1428TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 1454var collection = new TabControl.ControlCollection(owner); 1473TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls); 1531TabControl.ControlCollection collection = Assert.IsType<TabControl.ControlCollection>(owner.Controls);
System\Windows\Forms\TabControlTests.cs (1)
2994Control.ControlCollection controls = Assert.IsType<TabControl.ControlCollection>(control.CreateControlsInstance());