1 write to _designerHost
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
123_designerHost = component.Site.GetService<IDesignerHost>();
10 references to _designerHost
System.Windows.Forms.Design (10)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (10)
124_designer = _designerHost.GetDesigner(component); 406ToolStripDesigner designer = _designerHost.GetDesigner(_component) as ToolStripDesigner; 565if (cachedSelSvc.PrimarySelection is ToolStripItem selectedItem && _designerHost is not null) 567if (_designerHost.GetDesigner(selectedItem) is ToolStripMenuItemDesigner menuItemDesigner) 832if (_designerHost is not null) 834if (_designerHost.GetDesigner(curSel) is ToolStripItemDesigner designer) 913if (_designerHost is not null) 915baseComponent = (Control)_designerHost.RootComponent; 993&& _designerHost is not null) 995Control baseComponent = (Control)_designerHost.RootComponent;