30 references to CreateNestedContainer
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignSurface.cs (1)
308return CreateNestedContainer(owningComponent, null);
System.Windows.Forms.Design.Tests (29)
System\ComponentModel\Design\DesignSurfaceTests.cs (3)
1144using INestedContainer container = surface.CreateNestedContainer(ownerComponent, containerName); 1154Assert.Throws<ArgumentNullException>("owningComponent", () => surface.CreateNestedContainer(null, "name")); 1162Assert.Throws<ObjectDisposedException>(() => surface.CreateNestedContainer(null, "name"));
System\ComponentModel\Design\SiteNestedContainerTests.cs (26)
72using INestedContainer container = surface.CreateNestedContainer(ownerComponent, containerName); 175using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 232using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 335using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 406using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 485using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 499using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 513using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 568using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 581using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 594using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 605using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 621using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 650using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 669using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 748using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 812using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 842using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 860using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 877using INestedContainer container1 = surface.CreateNestedContainer(component1, "containerName"); 879using INestedContainer container2 = surface.CreateNestedContainer(component2, "containerName"); 896using INestedContainer container1 = surface.CreateNestedContainer(component1, "containerName"); 898using INestedContainer container2 = surface.CreateNestedContainer(component2, "containerName"); 914using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 982using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName"); 1005using INestedContainer container = surface.CreateNestedContainer(owningComponent, "containerName");