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)
42DesignerActionUIService actionUIService = (DesignerActionUIService)_host.GetService(typeof(DesignerActionUIService)); 51CreateStandardMenuStrip(_host, menuStrip); 55CreateStandardToolStrip(_host, (ToolStrip)_designer.Component); 105DesignerTransaction createMenu = _host.CreateTransaction(SR.StandardMenuCreateDesc); 115while (_host.Container.Components[name] is not null) 137item = (ToolStripSeparator)_host.CreateComponent(typeof(ToolStripSeparator), name); 138IDesigner designer = _host.GetDesigner(item); 149item = (ToolStripMenuItem)_host.CreateComponent(typeof(ToolStripMenuItem), name); 150IDesigner designer = _host.GetDesigner(item); 280DesignerTransaction createMenu = _host.CreateTransaction(SR.StandardMenuCreateDesc); 289while (_host.Container.Components[name] is not null) 308item = (ToolStripSeparator)_host.CreateComponent(typeof(ToolStripSeparator), name); 309IDesigner designer = _host.GetDesigner(item); 318item = (ToolStripButton)_host.CreateComponent(typeof(ToolStripButton), name); 319IDesigner designer = _host.GetDesigner(item); 494object existingComponent = _host.Container.Components[baseName]; 501return nameCreationService.CreateName(_host.Container, itemType);