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