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)
171IMenuCommandService menuService = (IMenuCommandService)_component.Site.GetService(typeof(IMenuCommandService)); 195IEventHandlerService ehs = (IEventHandlerService)_component.Site.GetService(typeof(IEventHandlerService)); 203IMenuCommandService menuService = (IMenuCommandService)_component.Site.GetService(typeof(IMenuCommandService)); 223IEventHandlerService ehs = (IEventHandlerService)_component.Site.GetService(typeof(IEventHandlerService)); 265BaseContextMenuStrip templateNodeContextMenu = new(_component.Site) 273TemplateNodeCustomMenuItemCollection templateNodeCustomMenuItemCollection = new(_component.Site, _controlHost); 336_toolStripKeyBoardService ??= (ToolStripKeyboardHandlingService)_component.Site.GetService(typeof(ToolStripKeyboardHandlingService)); 349_selectionService ??= (ISelectionService)_component.Site?.GetService(typeof(ISelectionService)); 359_behaviorService ??= (BehaviorService)_component.Site?.GetService(typeof(BehaviorService)); 391if (_component is ToolStrip && SelectionService is not null) 394ToolStripDesigner designer = _designerHost.GetDesigner(_component) as ToolStripDesigner; 399SelectionService.SetSelectedComponents(new object[] { _component }); 492SelectionService.SetSelectedComponents(new object[] { _component }, SelectionTypes.Replace); 503IServiceProvider svcProvider = _component.Site; 507if (_component is ToolStripItem currentItem) 655if (_component is ToolStrip strip) 661if (_component is ToolStripDropDownItem stripItem) 758Type[] supportedTypes = ToolStripDesignerUtils.GetStandardItemTypes(_component); 956if (_component.Site.GetService(typeof(ISplitWindowService)) is DesignerFrame designerFrame 1254ToolStripDesignerUtils.GetCustomNewItemDropDown(_contextMenu, _component, null, new EventHandler(AddNewItemClick), false, _component.Site); 1272_component, 1276_component.Site, 1289_component, 1293_component.Site); 1296if (_component is ToolStrip strip) 1302if (_component is ToolStripDropDownItem stripItem) 1594_currentItem = owner._component; 1812if (_owner._component is MenuStrip or ToolStripDropDownItem)