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);
406
ToolStripDesigner designer =
_designerHost
.GetDesigner(_component) as ToolStripDesigner;
565
if (cachedSelSvc.PrimarySelection is ToolStripItem selectedItem &&
_designerHost
is not null)
567
if (
_designerHost
.GetDesigner(selectedItem) is ToolStripMenuItemDesigner menuItemDesigner)
832
if (
_designerHost
is not null)
834
if (
_designerHost
.GetDesigner(curSel) is ToolStripItemDesigner designer)
913
if (
_designerHost
is not null)
915
baseComponent = (Control)
_designerHost
.RootComponent;
993
&&
_designerHost
is not null)
995
Control baseComponent = (Control)
_designerHost
.RootComponent;