1 implementation of IOverlayService
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignerFrame.cs (1)
25internal class DesignerFrame : Control, IOverlayService, ISplitWindowService, IContainsThemedScrollbarWindows
30 references to IOverlayService
System.Windows.Forms.Design (23)
System\Windows\Forms\Design\Behavior\BehaviorService.cs (4)
62IOverlayService? os = serviceProvider.GetService<IOverlayService>(); 167IOverlayService? os = _serviceProvider.GetService<IOverlayService>();
System\Windows\Forms\Design\ControlDesigner.cs (3)
43private IOverlayService? _overlayService; 2318private IOverlayService? OverlayService => _overlayService ??= GetService<IOverlayService>();
System\Windows\Forms\Design\DesignerFrame.cs (5)
225int IOverlayService.PushOverlay(Control control) => _designerRegion.PushOverlay(control); 231void IOverlayService.RemoveOverlay(Control control) 239void IOverlayService.InsertOverlay(Control control, int index) 247void IOverlayService.InvalidateOverlays(Rectangle screenRectangle) 255void IOverlayService.InvalidateOverlays(Region screenRegion)
System\Windows\Forms\Design\DocumentDesigner.cs (2)
478host.RemoveService<IOverlayService>(); 692IOverlayService os = _frame;
System\Windows\Forms\Design\TabOrder.cs (6)
71IOverlayService? os = (IOverlayService?)host.GetService(typeof(IOverlayService)); 152IOverlayService? os = (IOverlayService?)_host.GetService(typeof(IOverlayService));
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (3)
21private readonly IOverlayService _overlayService; 34_overlayService = (IOverlayService)serviceProvider.GetService(typeof(IOverlayService));
System.Windows.Forms.Design.Tests (7)
System\Windows\Forms\Design\TabOrderTests.cs (2)
16private readonly Mock<IOverlayService> _mockOverlayService; 38_mockHost.Setup(h => h.GetService(typeof(IOverlayService))).Returns(_mockOverlayService.Object);
System\Windows\Forms\Design\ToolStripAdornerWindowServiceTests.cs (4)
14private readonly Mock<IOverlayService> _overlayServiceMock; 26siteMock.Setup(s => s.GetService(typeof(IOverlayService))).Returns(_overlayServiceMock.Object); 29_serviceProviderMock.Setup(sp => sp.GetService(typeof(IOverlayService))).Returns(_overlayServiceMock.Object); 71_serviceProviderMock.Verify(sp => sp.GetService(typeof(IOverlayService)), Times.Exactly(2));
System\Windows\Forms\Design\UserControlDocumentDesignerTests.cs (1)
42.Setup(s => s.GetService(typeof(IOverlayService)))