3 references to TryGetService
System.Windows.Forms.Design (3)
System\ComponentModel\Design\MenuCommandService.cs (3)
187if (TryGetService(out _selectionService)) 197if (_selectionService?.SelectionCount == 1 && TryGetService(out IDesignerHost? designerHost)) 221if (TryGetService(out DesignerActionService? daSvc))