6 references to TryGetService
System.Windows.Forms.Design (6)
System\ComponentModel\Design\UndoEngine.cs (1)
255if (TryGetService(out IReferenceService? rs))
System\ComponentModel\Design\UndoEngine.UndoUnit.ChangeUndoEvent.cs (3)
113if (engine.TryGetService(out IReferenceService? rs)) 117else if (engine.TryGetService(out IDesignerHost? host)) 158if (engine.TryGetService(out IDesignerHost? host))
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (2)
32if (UndoEngine.TryGetService(out ISelectionService? ss)) 470if (UndoEngine.TryGetService(out ISelectionService? ss))