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