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