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)
41DesignerActionUIService actionUIService = (DesignerActionUIService)_host.GetService(typeof(DesignerActionUIService)); 50CreateStandardMenuStrip(_host, menuStrip); 54CreateStandardToolStrip(_host, (ToolStrip)_designer.Component); 104DesignerTransaction createMenu = _host.CreateTransaction(SR.StandardMenuCreateDesc); 114while (_host.Container.Components[name] is not null) 136item = (ToolStripSeparator)_host.CreateComponent(typeof(ToolStripSeparator), name); 137IDesigner designer = _host.GetDesigner(item); 148item = (ToolStripMenuItem)_host.CreateComponent(typeof(ToolStripMenuItem), name); 149IDesigner designer = _host.GetDesigner(item); 272DesignerTransaction createMenu = _host.CreateTransaction(SR.StandardMenuCreateDesc); 281while (_host.Container.Components[name] is not null) 300item = (ToolStripSeparator)_host.CreateComponent(typeof(ToolStripSeparator), name); 301IDesigner designer = _host.GetDesigner(item); 310item = (ToolStripButton)_host.CreateComponent(typeof(ToolStripButton), name); 311IDesigner designer = _host.GetDesigner(item); 479object existingComponent = _host.Container.Components[baseName]; 486return nameCreationService.CreateName(_host.Container, itemType);