9 references to CreateComponents
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\OleDragDropHandler.cs (1)
198
comps = tool.
CreateComponents
(host, defaultValues);
System.Windows.Forms.Design.Tests (8)
System\Drawing\Design\ToolboxItemTests.cs (8)
459
Assert.Same(component, Assert.Single(item.
CreateComponents
(mockDesignerHost.Object, null)));
463
Assert.Same(component, Assert.Single(item.
CreateComponents
(mockDesignerHost.Object, new Hashtable())));
525
Assert.Same(component, Assert.Single(item.
CreateComponents
(mockDesignerHost.Object, null)));
529
Assert.Same(component, Assert.Single(item.
CreateComponents
(mockDesignerHost.Object, new Hashtable())));
595
Assert.Throws<InvalidOperationException>(() => item.
CreateComponents
(mockDesignerHost.Object, null));
599
Assert.Throws<InvalidOperationException>(() => item.
CreateComponents
(mockDesignerHost.Object, new Hashtable()));
649
Assert.Null(item.
CreateComponents
(mockDesignerHost.Object, null));
653
Assert.Null(item.
CreateComponents
(mockDesignerHost.Object, new Hashtable()));