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));
1040
IEventBindingService eps = (IEventBindingService)
GetService
(typeof(IEventBindingService));
1072
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
1111
_toolboxService ??= (IToolboxService)
GetService
(typeof(IToolboxService));
1118
_mouseDragTool = _toolboxService.DeserializeToolboxItem(de.Data, (IDesignerHost)
GetService
(typeof(IDesignerHost)));
1223
_toolboxService ??= (IToolboxService)
GetService
(typeof(IToolboxService));
1228
ToolboxItem tool = _toolboxService.GetSelectedToolboxItem((IDesignerHost)
GetService
(typeof(IDesignerHost)));
1267
ISelectionService ss = (ISelectionService)
GetService
(typeof(ISelectionService));
1354
ISelectionService ss = (ISelectionService)
GetService
(typeof(ISelectionService));
1391
IUIService uiService = (IUIService)
GetService
(typeof(IUIService));
1486
_toolboxService ??= (IToolboxService)
GetService
(typeof(IToolboxService));
1526
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
1681
_menuCommandService ??= (IMenuCommandService)
GetService
(typeof(IMenuCommandService));
1689
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
1921
IComponentChangeService cs = (IComponentChangeService)tray.
GetService
(typeof(IComponentChangeService));
2086
IDesignerHost host = (IDesignerHost)_tray.
GetService
(typeof(IDesignerHost));
2116
ISelectionService sel = (ISelectionService)_tray.
GetService
(typeof(ISelectionService));
2162
ISelectionService sel = (ISelectionService)_tray.
GetService
(typeof(ISelectionService));
2206
ISelectionService sel = (ISelectionService)_tray.
GetService
(typeof(ISelectionService));
2240
ISelectionService s = (ISelectionService)_tray.
GetService
(typeof(ISelectionService));
2580
ISelectionService s = (ISelectionService)_tray.
GetService
(typeof(ISelectionService));
2861
return _tray.
GetService
(serviceType);