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) 658if (_component is ToolStrip strip) 664if (_component is ToolStripDropDownItem stripItem) 761Type[] supportedTypes = ToolStripDesignerUtils.GetStandardItemTypes(_component); 959if (_component.Site.GetService(typeof(ISplitWindowService)) is DesignerFrame designerFrame 1257ToolStripDesignerUtils.GetCustomNewItemDropDown(_contextMenu, _component, null, new EventHandler(AddNewItemClick), false, _component.Site); 1275_component, 1279_component.Site, 1292_component, 1296_component.Site); 1299if (_component is ToolStrip strip) 1305if (_component is ToolStripDropDownItem stripItem) 1597_currentItem = owner._component; 1815if (_owner._component is MenuStrip or ToolStripDropDownItem)