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