9 references to CreateComponents
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\OleDragDropHandler.cs (1)
198comps = tool.CreateComponents(host, defaultValues);
System.Windows.Forms.Design.Tests (8)
System\Drawing\Design\ToolboxItemTests.cs (8)
461Assert.Same(component, Assert.Single(item.CreateComponents(mockDesignerHost.Object, null))); 465Assert.Same(component, Assert.Single(item.CreateComponents(mockDesignerHost.Object, new Hashtable()))); 527Assert.Same(component, Assert.Single(item.CreateComponents(mockDesignerHost.Object, null))); 531Assert.Same(component, Assert.Single(item.CreateComponents(mockDesignerHost.Object, new Hashtable()))); 597Assert.Throws<InvalidOperationException>(() => item.CreateComponents(mockDesignerHost.Object, null)); 601Assert.Throws<InvalidOperationException>(() => item.CreateComponents(mockDesignerHost.Object, new Hashtable())); 651Assert.Null(item.CreateComponents(mockDesignerHost.Object, null)); 655Assert.Null(item.CreateComponents(mockDesignerHost.Object, new Hashtable()));