1 write to _host
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\StandardMenuStripVerb.cs (1)
33
_host
= (IDesignerHost)_provider.GetService(typeof(IDesignerHost));
17 references to _host
System.Windows.Forms.Design (17)
System\Windows\Forms\Design\StandardMenuStripVerb.cs (17)
42
DesignerActionUIService actionUIService = (DesignerActionUIService)
_host
.GetService(typeof(DesignerActionUIService));
51
CreateStandardMenuStrip(
_host
, menuStrip);
55
CreateStandardToolStrip(
_host
, (ToolStrip)_designer.Component);
105
DesignerTransaction createMenu =
_host
.CreateTransaction(SR.StandardMenuCreateDesc);
115
while (
_host
.Container.Components[name] is not null)
137
item = (ToolStripSeparator)
_host
.CreateComponent(typeof(ToolStripSeparator), name);
138
IDesigner designer =
_host
.GetDesigner(item);
149
item = (ToolStripMenuItem)
_host
.CreateComponent(typeof(ToolStripMenuItem), name);
150
IDesigner designer =
_host
.GetDesigner(item);
280
DesignerTransaction createMenu =
_host
.CreateTransaction(SR.StandardMenuCreateDesc);
289
while (
_host
.Container.Components[name] is not null)
308
item = (ToolStripSeparator)
_host
.CreateComponent(typeof(ToolStripSeparator), name);
309
IDesigner designer =
_host
.GetDesigner(item);
318
item = (ToolStripButton)
_host
.CreateComponent(typeof(ToolStripButton), name);
319
IDesigner designer =
_host
.GetDesigner(item);
494
object existingComponent =
_host
.Container.Components[baseName];
501
return nameCreationService.CreateName(
_host
.Container, itemType);