Base:
method
GetService
System.ComponentModel.Component.GetService(System.Type)
42 references to GetService
System.Windows.Forms.Design (42)
System\Windows\Forms\Design\ComponentTray.cs (42)
85
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
86
IExtenderProviderService es = (IExtenderProviderService)
GetService
(typeof(IExtenderProviderService));
90
if (
GetService
(typeof(IEventHandlerService)) is null)
115
IComponentChangeService componentChangeService = (IComponentChangeService)
GetService
(typeof(IComponentChangeService));
121
if (
GetService
(typeof(IUIService)) is IUIService uiService)
160
ISelectionService selSvc = (ISelectionService)
GetService
(typeof(ISelectionService));
171
if (
GetService
(typeof(BehaviorService)) is BehaviorService behSvc)
278
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
301
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
317
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
405
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
515
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
656
ISelectionService selectionService = (ISelectionService)
GetService
(typeof(ISelectionService));
682
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
692
_selectionUISvc = (ISelectionUIService)
GetService
(typeof(ISelectionUIService));
751
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
782
ITypeResolutionService tr = (ITypeResolutionService)
GetService
(typeof(ITypeResolutionService));
833
IUIService uis = (IUIService)
GetService
(typeof(IUIService));
857
IExtenderProviderService es = (IExtenderProviderService)
GetService
(typeof(IExtenderProviderService));
860
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
870
IComponentChangeService componentChangeService = (IComponentChangeService)
GetService
(typeof(IComponentChangeService));
1046
IEventBindingService eps = (IEventBindingService)
GetService
(typeof(IEventBindingService));
1078
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
1117
_toolboxService ??= (IToolboxService)
GetService
(typeof(IToolboxService));
1124
_mouseDragTool = _toolboxService.DeserializeToolboxItem(de.Data, (IDesignerHost)
GetService
(typeof(IDesignerHost)));
1229
_toolboxService ??= (IToolboxService)
GetService
(typeof(IToolboxService));
1234
ToolboxItem tool = _toolboxService.GetSelectedToolboxItem((IDesignerHost)
GetService
(typeof(IDesignerHost)));
1273
ISelectionService ss = (ISelectionService)
GetService
(typeof(ISelectionService));
1360
ISelectionService ss = (ISelectionService)
GetService
(typeof(ISelectionService));
1397
IUIService uiService = (IUIService)
GetService
(typeof(IUIService));
1492
_toolboxService ??= (IToolboxService)
GetService
(typeof(IToolboxService));
1532
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
1687
_menuCommandService ??= (IMenuCommandService)
GetService
(typeof(IMenuCommandService));
1695
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
1927
IComponentChangeService cs = (IComponentChangeService)tray.
GetService
(typeof(IComponentChangeService));
2092
IDesignerHost host = (IDesignerHost)_tray.
GetService
(typeof(IDesignerHost));
2122
ISelectionService sel = (ISelectionService)_tray.
GetService
(typeof(ISelectionService));
2168
ISelectionService sel = (ISelectionService)_tray.
GetService
(typeof(ISelectionService));
2212
ISelectionService sel = (ISelectionService)_tray.
GetService
(typeof(ISelectionService));
2246
ISelectionService s = (ISelectionService)_tray.
GetService
(typeof(ISelectionService));
2586
ISelectionService s = (ISelectionService)_tray.
GetService
(typeof(ISelectionService));
2870
return _tray.
GetService
(serviceType);