1 implementation of InitializeNewComponent
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ComponentDesigner.cs (1)
142public virtual void InitializeNewComponent(IDictionary? defaultValues)
15 references to InitializeNewComponent
DemoConsole (1)
DesignSurfaceExtended.cs (1)
216initializer.InitializeNewComponent(new Dictionary<object, object>());
System.Windows.Forms.Design (2)
System\ComponentModel\Design\CollectionEditor.cs (1)
102initializer.InitializeNewComponent(null);
System\Drawing\Design\ToolboxItem.cs (1)
292init.InitializeNewComponent(defaultValues);
System.Windows.Forms.Design.Tests (12)
System\ComponentModel\Design\CollectionEditorTests.cs (2)
288.Setup(d => d.InitializeNewComponent(null)) 322mockComponentInitializer.Verify(d => d.InitializeNewComponent(null), Times.Once());
System\ComponentModel\Design\CollectionFormTests.cs (2)
661.Setup(d => d.InitializeNewComponent(null)) 696mockComponentInitializer.Verify(d => d.InitializeNewComponent(null), Times.Once());
System\Drawing\Design\ToolboxItemTests.cs (8)
490.Setup(i => i.InitializeNewComponent(null)); 492.Setup(i => i.InitializeNewComponent(new Hashtable())); 556.Setup(i => i.InitializeNewComponent(null)) 559.Setup(i => i.InitializeNewComponent(new Hashtable())) 809.Setup(i => i.InitializeNewComponent(null)); 811.Setup(i => i.InitializeNewComponent(new Hashtable())); 875.Setup(i => i.InitializeNewComponent(null)) 878.Setup(i => i.InitializeNewComponent(new Hashtable()))