1 write to _host
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\StandardMenuStripVerb.cs (1)
32
_host
= (IDesignerHost)_provider.GetService(typeof(IDesignerHost));
17 references to _host
System.Windows.Forms.Design (17)
System\Windows\Forms\Design\StandardMenuStripVerb.cs (17)
41
DesignerActionUIService actionUIService = (DesignerActionUIService)
_host
.GetService(typeof(DesignerActionUIService));
50
CreateStandardMenuStrip(
_host
, menuStrip);
54
CreateStandardToolStrip(
_host
, (ToolStrip)_designer.Component);
104
DesignerTransaction createMenu =
_host
.CreateTransaction(SR.StandardMenuCreateDesc);
114
while (
_host
.Container.Components[name] is not null)
136
item = (ToolStripSeparator)
_host
.CreateComponent(typeof(ToolStripSeparator), name);
137
IDesigner designer =
_host
.GetDesigner(item);
148
item = (ToolStripMenuItem)
_host
.CreateComponent(typeof(ToolStripMenuItem), name);
149
IDesigner designer =
_host
.GetDesigner(item);
272
DesignerTransaction createMenu =
_host
.CreateTransaction(SR.StandardMenuCreateDesc);
281
while (
_host
.Container.Components[name] is not null)
300
item = (ToolStripSeparator)
_host
.CreateComponent(typeof(ToolStripSeparator), name);
301
IDesigner designer =
_host
.GetDesigner(item);
310
item = (ToolStripButton)
_host
.CreateComponent(typeof(ToolStripButton), name);
311
IDesigner designer =
_host
.GetDesigner(item);
479
object existingComponent =
_host
.Container.Components[baseName];
486
return nameCreationService.CreateName(
_host
.Container, itemType);