2 references to GetService
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (1)
572ambientProperties = Site is not null ? Site.GetService<AmbientProperties>() : GetService<AmbientProperties>();
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
245get => _designerHost ??= GetService<IDesignerHost>();