2 instantiations of ToolStripAdornerWindowService
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DocumentDesigner.cs (1)
993return new ToolStripAdornerWindowService(Component.Site, _frame);
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ToolStripAdornerWindowServiceTests.cs (1)
33_service = new(_serviceProviderMock.Object, _control);
22 references to ToolStripAdornerWindowService
System.Windows.Forms.Design (16)
System\Windows\Forms\Design\DocumentDesigner.cs (7)
335ToolStripAdornerWindowService toolWindow = (ToolStripAdornerWindowService)GetService(typeof(ToolStripAdornerWindowService)); 339host.RemoveService<ToolStripAdornerWindowService>(); 447host.RemoveService<ToolStripAdornerWindowService>(); 675host.AddService<ToolStripAdornerWindowService>(callback); 991else if (serviceType == typeof(ToolStripAdornerWindowService))
System\Windows\Forms\Design\FormDocumentDesigner.cs (2)
24private ToolStripAdornerWindowService _toolStripAdornerWindowService; 312_toolStripAdornerWindowService ??= GetService<ToolStripAdornerWindowService>();
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
44private ToolStripAdornerWindowService _toolStripAdornerWindowService; // Add the Adorner Service for OverFlow DropDown... 1431_toolStripAdornerWindowService = GetService<ToolStripAdornerWindowService>();
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
309GetService<ToolStripAdornerWindowService>()?.Invalidate();
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
469if (_bodyGlyph is not null && TryGetService(out ToolStripAdornerWindowService toolStripAdornerWindowService)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (3)
34private ToolStripAdornerWindowService _toolStripAdornerWindowService; 1488_toolStripAdornerWindowService = GetService<ToolStripAdornerWindowService>(); 1628ToolStripAdornerWindowService toolStripService = _toolStripAdornerWindowService;
System.Windows.Forms.Design.Tests (6)
Mocks\MockSite.cs (1)
60.Setup(s => s.GetService(typeof(ToolStripAdornerWindowService)))
System\Windows\Forms\Design\ChangeToolStripParentVerbTests.cs (1)
46_siteMock.Setup(s => s.GetService(typeof(ToolStripAdornerWindowService))).Returns(null!);
System\Windows\Forms\Design\StandardMenuStripVerbTests.cs (1)
40_siteMock.Setup(s => s.GetService(typeof(ToolStripAdornerWindowService))).Returns(null!);
System\Windows\Forms\Design\ToolStripAdornerWindowServiceTests.cs (1)
16private readonly ToolStripAdornerWindowService _service;
TestControlDesigner.Mocks.cs (1)
88.Setup(s => s.GetService(typeof(ToolStripAdornerWindowService)))
ToolStripDesignerTests.cs (1)
35mockSite.Setup(s => s.GetService(typeof(ToolStripAdornerWindowService))).Returns(null);