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)
168IMenuCommandService menuService = (IMenuCommandService)_component.Site.GetService(typeof(IMenuCommandService)); 192IEventHandlerService ehs = (IEventHandlerService)_component.Site.GetService(typeof(IEventHandlerService)); 200IMenuCommandService menuService = (IMenuCommandService)_component.Site.GetService(typeof(IMenuCommandService)); 220IEventHandlerService ehs = (IEventHandlerService)_component.Site.GetService(typeof(IEventHandlerService)); 262BaseContextMenuStrip templateNodeContextMenu = new(_component.Site) 270TemplateNodeCustomMenuItemCollection templateNodeCustomMenuItemCollection = new(_component.Site, _controlHost); 333_toolStripKeyBoardService ??= (ToolStripKeyboardHandlingService)_component.Site.GetService(typeof(ToolStripKeyboardHandlingService)); 346_selectionService ??= (ISelectionService)_component.Site?.GetService(typeof(ISelectionService)); 356_behaviorService ??= (BehaviorService)_component.Site?.GetService(typeof(BehaviorService)); 388if (_component is ToolStrip && SelectionService is not null) 391ToolStripDesigner designer = _designerHost.GetDesigner(_component) as ToolStripDesigner; 396SelectionService.SetSelectedComponents(new object[] { _component }); 489SelectionService.SetSelectedComponents(new object[] { _component }, SelectionTypes.Replace); 500IServiceProvider svcProvider = _component.Site; 504if (_component is ToolStripItem currentItem) 652if (_component is ToolStrip strip) 658if (_component is ToolStripDropDownItem stripItem) 752Type[] supportedTypes = ToolStripDesignerUtils.GetStandardItemTypes(_component); 950if (_component.Site.GetService(typeof(ISplitWindowService)) is DesignerFrame designerFrame 1248ToolStripDesignerUtils.GetCustomNewItemDropDown(_contextMenu, _component, null, new EventHandler(AddNewItemClick), false, _component.Site); 1266_component, 1270_component.Site, 1283_component, 1287_component.Site); 1290if (_component is ToolStrip strip) 1296if (_component is ToolStripDropDownItem stripItem) 1588_currentItem = owner._component; 1806if (_owner._component is MenuStrip or ToolStripDropDownItem)