1 implementation of CreateComponent
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerHost.cs (1)
931
IComponent 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)
137
item = (ToolStripSeparator)_host.
CreateComponent
(typeof(ToolStripSeparator), name);
149
item = (ToolStripMenuItem)_host.
CreateComponent
(typeof(ToolStripMenuItem), name);
308
item = (ToolStripSeparator)_host.
CreateComponent
(typeof(ToolStripSeparator), name);
318
item = (ToolStripButton)_host.
CreateComponent
(typeof(ToolStripButton), name);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
574
IComponent component = _host.
CreateComponent
(t, NameFromText(text, t, Component.Site));
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
798
ToolStripItem component = (ToolStripItem)host.
CreateComponent
(t, name);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
866
newItem = (ToolStripItem)_designerHost.
CreateComponent
(t, ToolStripDesigner.NameFromText(newText, t, MenuItem.Site));