1 implementation of CreateComponent
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerHost.cs (1)
931IComponent IDesignerHost.CreateComponent(Type componentType, string name)
9 references to CreateComponent
System.Windows.Forms.Design (9)
System\ComponentModel\Design\DesignerHost.cs (1)
929((IDesignerHost)this).CreateComponent(componentType, null!);
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
275: (object)host.CreateComponent(type, name);
System\Windows\Forms\Design\StandardMenuStripVerb.cs (4)
137item = (ToolStripSeparator)_host.CreateComponent(typeof(ToolStripSeparator), name); 149item = (ToolStripMenuItem)_host.CreateComponent(typeof(ToolStripMenuItem), name); 308item = (ToolStripSeparator)_host.CreateComponent(typeof(ToolStripSeparator), name); 318item = (ToolStripButton)_host.CreateComponent(typeof(ToolStripButton), name);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
574IComponent component = _host.CreateComponent(t, NameFromText(text, t, Component.Site));
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
798ToolStripItem component = (ToolStripItem)host.CreateComponent(t, name);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
866newItem = (ToolStripItem)_designerHost.CreateComponent(t, ToolStripDesigner.NameFromText(newText, t, MenuItem.Site));