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