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));
118
if (
GetService
(typeof(IUIService)) is IUIService uiService)
157
ISelectionService selSvc = (ISelectionService)
GetService
(typeof(ISelectionService));
165
if (
GetService
(typeof(BehaviorService)) is BehaviorService behSvc)
272
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
295
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
311
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
399
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
509
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
650
ISelectionService selectionService = (ISelectionService)
GetService
(typeof(ISelectionService));
676
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
686
_selectionUISvc = (ISelectionUIService)
GetService
(typeof(ISelectionUIService));
745
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
776
ITypeResolutionService tr = (ITypeResolutionService)
GetService
(typeof(ITypeResolutionService));
827
IUIService uis = (IUIService)
GetService
(typeof(IUIService));
851
IExtenderProviderService es = (IExtenderProviderService)
GetService
(typeof(IExtenderProviderService));
854
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
864
IComponentChangeService componentChangeService = (IComponentChangeService)
GetService
(typeof(IComponentChangeService));
1031
IEventBindingService eps = (IEventBindingService)
GetService
(typeof(IEventBindingService));
1063
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
1102
_toolboxService ??= (IToolboxService)
GetService
(typeof(IToolboxService));
1109
_mouseDragTool = _toolboxService.DeserializeToolboxItem(de.Data, (IDesignerHost)
GetService
(typeof(IDesignerHost)));
1214
_toolboxService ??= (IToolboxService)
GetService
(typeof(IToolboxService));
1219
ToolboxItem tool = _toolboxService.GetSelectedToolboxItem((IDesignerHost)
GetService
(typeof(IDesignerHost)));
1258
ISelectionService ss = (ISelectionService)
GetService
(typeof(ISelectionService));
1345
ISelectionService ss = (ISelectionService)
GetService
(typeof(ISelectionService));
1382
IUIService uiService = (IUIService)
GetService
(typeof(IUIService));
1477
_toolboxService ??= (IToolboxService)
GetService
(typeof(IToolboxService));
1517
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
1672
_menuCommandService ??= (IMenuCommandService)
GetService
(typeof(IMenuCommandService));
1680
IDesignerHost host = (IDesignerHost)
GetService
(typeof(IDesignerHost));
1912
IComponentChangeService cs = (IComponentChangeService)tray.
GetService
(typeof(IComponentChangeService));
2074
IDesignerHost host = (IDesignerHost)_tray.
GetService
(typeof(IDesignerHost));
2104
ISelectionService sel = (ISelectionService)_tray.
GetService
(typeof(ISelectionService));
2150
ISelectionService sel = (ISelectionService)_tray.
GetService
(typeof(ISelectionService));
2194
ISelectionService sel = (ISelectionService)_tray.
GetService
(typeof(ISelectionService));
2228
ISelectionService s = (ISelectionService)_tray.
GetService
(typeof(ISelectionService));
2568
ISelectionService s = (ISelectionService)_tray.
GetService
(typeof(ISelectionService));
2849
return _tray.
GetService
(serviceType);