23 references to AddService
System.Windows.Forms.Design (23)
System\ComponentModel\Design\ComponentDesigner.cs (1)
387sc.AddService<DesignerCommandSet>(new CDDesignerCommandSet(this));
System\ComponentModel\Design\DesignerActionUIService.cs (1)
21host.AddService(this);
System\ComponentModel\Design\DesignSurface.cs (1)
44ServiceContainer.AddService(this);
System\ComponentModel\Design\Serialization\BasicDesignerLoader.cs (2)
180sc.AddService<IDesignerSerializationManager>(_serializationManager); 385protected virtual void Initialize() => LoaderHost.AddService<IDesignerLoaderService>(this);
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (4)
372LoaderHost.AddService(_documentType); 588LoaderHost.AddService<INameCreationService>(this); 589LoaderHost.AddService<IDesignerSerializationService>(this); 603LoaderHost.AddService(typeResolutionService);
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
367sc.AddService(cache);
System\Windows\Forms\Design\Behavior\BehaviorService.cs (2)
87host.AddService<IMenuCommandService>(menuCommandHandler); 175host.AddService(oldMenuCommandService);
System\Windows\Forms\Design\ComponentTray.cs (2)
95host.AddService(_eventHandlerService); 698host.AddService(_selectionUISvc);
System\Windows\Forms\Design\DocumentDesigner.cs (7)
706host.AddService(os); 707host.AddService<ISplitWindowService>(_frame); 710host.AddService(_behaviorService); 714host.AddService(_selectionManager); 735host.AddService(_inheritanceUI); 738host.AddService<IInheritanceService>(isvc); 922host.AddService(_componentTray);
System\Windows\Forms\Design\ToolStripInSituService.cs (1)
33_designerHost?.AddService<ISupportInSituService>(this);
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (1)
64_designerHost?.AddService(this);