1 write to _component
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
118_component = component;
29 references to _component
System.Windows.Forms.Design (29)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (29)
177IMenuCommandService menuService = (IMenuCommandService)_component.Site.GetService(typeof(IMenuCommandService)); 201IEventHandlerService ehs = (IEventHandlerService)_component.Site.GetService(typeof(IEventHandlerService)); 212IMenuCommandService menuService = (IMenuCommandService)_component.Site.GetService(typeof(IMenuCommandService)); 232IEventHandlerService ehs = (IEventHandlerService)_component.Site.GetService(typeof(IEventHandlerService)); 274BaseContextMenuStrip templateNodeContextMenu = new(_component.Site) 282TemplateNodeCustomMenuItemCollection templateNodeCustomMenuItemCollection = new(_component.Site, _controlHost); 345_toolStripKeyBoardService ??= (ToolStripKeyboardHandlingService)_component.Site.GetService(typeof(ToolStripKeyboardHandlingService)); 358_selectionService ??= (ISelectionService)_component.Site.GetService(typeof(ISelectionService)); 368_behaviorService ??= (BehaviorService)_component.Site.GetService(typeof(BehaviorService)); 403if (_component is ToolStrip && SelectionService is not null) 406ToolStripDesigner designer = _designerHost.GetDesigner(_component) as ToolStripDesigner; 414SelectionService.SetSelectedComponents(new object[] { _component }); 522SelectionService.SetSelectedComponents(new object[] { _component }, SelectionTypes.Replace); 533IServiceProvider svcProvider = _component.Site; 537if (_component is ToolStripItem currentItem) 688if (_component is ToolStrip strip) 694if (_component is ToolStripDropDownItem stripItem) 791Type[] supportedTypes = ToolStripDesignerUtils.GetStandardItemTypes(_component); 992if (_component.Site.GetService(typeof(ISplitWindowService)) is DesignerFrame designerFrame 1296ToolStripDesignerUtils.GetCustomNewItemDropDown(_contextMenu, _component, null, new EventHandler(AddNewItemClick), false, _component.Site); 1314_component, 1318_component.Site, 1331_component, 1335_component.Site); 1338if (_component is ToolStrip strip) 1344if (_component is ToolStripDropDownItem stripItem) 1636_currentItem = owner._component; 1854if (_owner._component is MenuStrip or ToolStripDropDownItem)