2 types derived from Container
System.ComponentModel.TypeConverter (1)
System\ComponentModel\NestedContainer.cs (1)
16public class NestedContainer : Container, INestedContainer
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerHost.cs (1)
17internal sealed partial class DesignerHost : Container, IDesignerLoaderHost2, IDesignerHostTransactionState, IComponentChangeService, IReflect
37 instantiations of Container
Accessibility_Core_App (3)
DataControls.Designer.cs (1)
31this.components = new System.ComponentModel.Container();
Menu_Toolbars_controls.Designer.cs (1)
34components = new System.ComponentModel.Container();
ToolStripContainer.Designer.cs (1)
31this.components = new System.ComponentModel.Container();
ScratchProject (1)
Form1.Designer.cs (1)
34this.components = new System.ComponentModel.Container();
ScratchProjectWithInternals (1)
Form1.Designer.cs (1)
34this.components = new System.ComponentModel.Container();
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
121_components = new Container();
System.Windows.Forms.Design.Tests (5)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (4)
41Container container = new(); 79yield return new object[] { new Container() }; 718Container container = new(); 807Container container = new();
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollectionTests.cs (1)
173public IContainer Container { get; init; } = new Container();
System.Windows.Forms.Tests (19)
System\Windows\Forms\BindingSourceTests.cs (1)
477using Container container = new();
System\Windows\Forms\ErrorProviderTests.cs (1)
65using Container container = new();
System\Windows\Forms\ImageListTests.cs (1)
33Container container = new();
System\Windows\Forms\NotifyIconTests.cs (1)
31Container container = new();
System\Windows\Forms\PageSetupDialogTests.cs (1)
406Container container = new();
System\Windows\Forms\TabControl.ControlCollectionTests.cs (2)
652Container container = new(); 676Container container = new();
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (4)
649Container container = new(); 675Container container = new(); 2604Container container = new(); 2628Container container = new();
System\Windows\Forms\TimerTests.cs (1)
26using Container container = new();
System\Windows\Forms\ToolStripControlHostTests.cs (6)
1761yield return new object[] { new Container(), name, designMode }; 1819using Container container = new(); 1840using Container container = new(); 1861using Container container = new(); 1883using Container container = new(); 1919using Container container = new();
System\Windows\Forms\ToolTipTests.cs (1)
46using Container container = new();
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
31components = new System.ComponentModel.Container();
WinFormsControlsTest (6)
Buttons.Designer.cs (1)
34this.components = new System.ComponentModel.Container();
ComboBoxesWithScrollBars.Designer.cs (1)
34this.components = new System.ComponentModel.Container();
ErrorProviderTest.Designer.cs (1)
36this.components = new System.ComponentModel.Container();
ListViewTest.Designer.cs (1)
34this.components = new System.ComponentModel.Container();
ToolTipTests.Designer.cs (1)
31this.components = new System.ComponentModel.Container();
TreeViewTest.Designer.cs (1)
34this.components = new System.ComponentModel.Container();
35 references to Container
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (1)
15Private ReadOnly components As Container
netstandard (1)
netstandard.cs (1)
206[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Container))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
192[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Container))]
System.ComponentModel.TypeConverter (7)
System\ComponentModel\Container.cs (7)
24/// Adds the specified component to the <see cref='System.ComponentModel.Container'/> 32/// Adds the specified component to the <see cref='System.ComponentModel.Container'/> and assigns 133/// Gets all the components in the <see cref='System.ComponentModel.Container'/>. 179/// Removes a component from the <see cref='System.ComponentModel.Container'/>. 246internal Site(IComponent component, Container container, string? name) 265return ((service == typeof(ISite)) ? this : ((Container)Container).GetService(service)); 284((Container)Container).ValidateName(Component, value);
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerHost.Site.cs (2)
21private readonly Container _container; 23internal Site(IComponent component, DesignerHost host, string? name, Container container)
System\ComponentModel\Design\Serialization\ContainerCodeDomSerializer.cs (1)
69CodeObjectCreateExpression objCreate = new(typeof(Container));
System.Windows.Forms.Design.Tests (4)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (1)
26.Returns(default(Container));
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (3)
41Container container = new(); 718Container container = new(); 807Container container = new();
System.Windows.Forms.Tests (18)
System\Windows\Forms\BindingSourceTests.cs (1)
477using Container container = new();
System\Windows\Forms\ErrorProviderTests.cs (1)
65using Container container = new();
System\Windows\Forms\ImageListTests.cs (1)
33Container container = new();
System\Windows\Forms\NotifyIconTests.cs (1)
31Container container = new();
System\Windows\Forms\PageSetupDialogTests.cs (1)
406Container container = new();
System\Windows\Forms\TabControl.ControlCollectionTests.cs (2)
652Container container = new(); 676Container container = new();
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (4)
649Container container = new(); 675Container container = new(); 2604Container container = new(); 2628Container container = new();
System\Windows\Forms\TimerTests.cs (1)
26using Container container = new();
System\Windows\Forms\ToolStripControlHostTests.cs (5)
1819using Container container = new(); 1840using Container container = new(); 1861using Container container = new(); 1883using Container container = new(); 1919using Container container = new();
System\Windows\Forms\ToolTipTests.cs (1)
46using Container container = new();