Implemented interface member:
property
Components
System.ComponentModel.IContainer.Components
12 references to Components
System.Windows.Forms.Design (6)
System\ComponentModel\Design\DesignerHost.cs (5)
720
IComponent[] components = new IComponent[
Components
.Count];
721
Components
.CopyTo(components, 0);
775
while (
Components
.Count > 0)
777
Remove(
Components
[0]);
1142
IComponent? component =
Components
[name];
System\ComponentModel\Design\DesignerHost.Site.cs (1)
235
IComponent? namedComponent = _container.
Components
[value];
System.Windows.Forms.Tests (6)
System\Windows\Forms\TabControl.ControlCollectionTests.cs (2)
669
Assert.Same(value, Assert.Single(container.
Components
));
703
Assert.Empty(container.
Components
);
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (4)
668
Assert.Same(value, Assert.Single(container.
Components
));
704
Assert.Empty(container.
Components
);
2621
Assert.Same(value, Assert.Single(container.
Components
));
2655
Assert.Empty(container.
Components
);