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)
85IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost)); 86IExtenderProviderService es = (IExtenderProviderService)GetService(typeof(IExtenderProviderService)); 90if (GetService(typeof(IEventHandlerService)) is null) 115IComponentChangeService componentChangeService = (IComponentChangeService)GetService(typeof(IComponentChangeService)); 121if (GetService(typeof(IUIService)) is IUIService uiService) 160ISelectionService selSvc = (ISelectionService)GetService(typeof(ISelectionService)); 171if (GetService(typeof(BehaviorService)) is BehaviorService behSvc) 278IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost)); 301IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost)); 317IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost)); 405IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost)); 515IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost)); 656ISelectionService selectionService = (ISelectionService)GetService(typeof(ISelectionService)); 682IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost)); 692_selectionUISvc = (ISelectionUIService)GetService(typeof(ISelectionUIService)); 751IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost)); 782ITypeResolutionService tr = (ITypeResolutionService)GetService(typeof(ITypeResolutionService)); 833IUIService uis = (IUIService)GetService(typeof(IUIService)); 857IExtenderProviderService es = (IExtenderProviderService)GetService(typeof(IExtenderProviderService)); 860IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost)); 870IComponentChangeService componentChangeService = (IComponentChangeService)GetService(typeof(IComponentChangeService)); 1046IEventBindingService eps = (IEventBindingService)GetService(typeof(IEventBindingService)); 1078IDesignerHost 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)); 1234ToolboxItem tool = _toolboxService.GetSelectedToolboxItem((IDesignerHost)GetService(typeof(IDesignerHost))); 1273ISelectionService ss = (ISelectionService)GetService(typeof(ISelectionService)); 1360ISelectionService ss = (ISelectionService)GetService(typeof(ISelectionService)); 1397IUIService uiService = (IUIService)GetService(typeof(IUIService)); 1492_toolboxService ??= (IToolboxService)GetService(typeof(IToolboxService)); 1532IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost)); 1687_menuCommandService ??= (IMenuCommandService)GetService(typeof(IMenuCommandService)); 1695IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost)); 1927IComponentChangeService cs = (IComponentChangeService)tray.GetService(typeof(IComponentChangeService)); 2092IDesignerHost host = (IDesignerHost)_tray.GetService(typeof(IDesignerHost)); 2122ISelectionService sel = (ISelectionService)_tray.GetService(typeof(ISelectionService)); 2168ISelectionService sel = (ISelectionService)_tray.GetService(typeof(ISelectionService)); 2212ISelectionService sel = (ISelectionService)_tray.GetService(typeof(ISelectionService)); 2246ISelectionService s = (ISelectionService)_tray.GetService(typeof(ISelectionService)); 2586ISelectionService s = (ISelectionService)_tray.GetService(typeof(ISelectionService)); 2870return _tray.GetService(serviceType);