19 references to ComponentContainer
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignSurface.cs (1)
291instance = TypeDescriptor.CreateInstance(this, type, [typeof(IContainer)], [ComponentContainer]);
System.Windows.Forms.Design.Tests (18)
System\ComponentModel\Design\DesignerHostTests.cs (3)
2244Assert.Same(collection, surface.ComponentContainer.Components); 2491.Setup(l => l.BeginLoad((IDesignerLoaderHost)surface.ComponentContainer)); 3155public IDesignerLoaderHost2 Host => Assert.IsAssignableFrom<IDesignerLoaderHost2>(ComponentContainer);
System\ComponentModel\Design\DesignSurfaceTests.cs (14)
17Assert.NotNull(surface.ComponentContainer); 18Assert.Empty(surface.ComponentContainer.Components); 56Assert.NotNull(surface.ComponentContainer); 57Assert.Empty(surface.ComponentContainer.Components); 78Assert.NotNull(surface.ComponentContainer); 79Assert.Single(surface.ComponentContainer.Components); 100Assert.NotNull(surface.ComponentContainer); 101Assert.Single(surface.ComponentContainer.Components); 147Assert.NotNull(surface.ComponentContainer); 148Assert.Single(surface.ComponentContainer.Components); 178Assert.Throws<ObjectDisposedException>(() => surface.ComponentContainer); 1042Assert.Same(surface.ComponentContainer, instance.Container); 1107Assert.Same(surface.ComponentContainer, instance.Container); 1733public IDesignerLoaderHost2 Host => Assert.IsAssignableFrom<IDesignerLoaderHost2>(ComponentContainer);
System\ComponentModel\Design\SiteNestedContainerTests.cs (1)
1029public IDesignerLoaderHost2 Host => Assert.IsAssignableFrom<IDesignerLoaderHost2>(ComponentContainer);