23 references to AddService
System.Windows.Forms.Design (23)
System\ComponentModel\Design\ComponentDesigner.cs (1)
387
sc.
AddService
<DesignerCommandSet>(new CDDesignerCommandSet(this));
System\ComponentModel\Design\DesignerActionUIService.cs (1)
21
host.
AddService
(this);
System\ComponentModel\Design\DesignSurface.cs (1)
44
ServiceContainer.
AddService
(this);
System\ComponentModel\Design\Serialization\BasicDesignerLoader.cs (2)
180
sc.
AddService
<IDesignerSerializationManager>(_serializationManager);
385
protected virtual void Initialize() => LoaderHost.
AddService
<IDesignerLoaderService>(this);
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (4)
372
LoaderHost.
AddService
(_documentType);
588
LoaderHost.
AddService
<INameCreationService>(this);
589
LoaderHost.
AddService
<IDesignerSerializationService>(this);
603
LoaderHost.
AddService
(typeResolutionService);
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
367
sc.
AddService
(cache);
System\Windows\Forms\Design\Behavior\BehaviorService.cs (2)
87
host.
AddService
<IMenuCommandService>(menuCommandHandler);
175
host.
AddService
(oldMenuCommandService);
System\Windows\Forms\Design\ComponentTray.cs (2)
95
host.
AddService
(_eventHandlerService);
698
host.
AddService
(_selectionUISvc);
System\Windows\Forms\Design\DocumentDesigner.cs (7)
705
host.
AddService
(os);
706
host.
AddService
<ISplitWindowService>(_frame);
709
host.
AddService
(_behaviorService);
713
host.
AddService
(_selectionManager);
734
host.
AddService
(_inheritanceUI);
737
host.
AddService
<IInheritanceService>(isvc);
910
host.
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);