1 instantiation of SelectionManager
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DocumentDesigner.cs (1)
711_selectionManager = new SelectionManager(host, _behaviorService);
53 references to SelectionManager
System.Windows.Forms.Design (53)
System\ComponentModel\Design\ToolStripContainerActionList.cs (2)
77SelectionManager? selectionManager = _serviceProvider?.GetService<SelectionManager>();
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (3)
902SelectionManager selMgr = (SelectionManager)serviceProvider.GetService(typeof(SelectionManager));
System\Windows\Forms\Design\Behavior\TableLayoutPanelBehavior.cs (3)
64SelectionManager selManager = _serviceProvider.GetService(typeof(SelectionManager)) as SelectionManager;
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (3)
277SelectionManager selMgr = (SelectionManager)_serviceProvider.GetService(typeof(SelectionManager));
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
115var selectionManager = _serviceProvider.GetRequiredService<SelectionManager>();
System\Windows\Forms\Design\DocumentDesigner.cs (2)
30private SelectionManager _selectionManager; 487host.RemoveService<SelectionManager>();
System\Windows\Forms\Design\FlowPanelDesigner.cs (3)
43SelectionManager? sm = GetService(typeof(SelectionManager)) as SelectionManager;
System\Windows\Forms\Design\ScrollableControlDesigner.cs (2)
15private SelectionManager? _selectionManager; 58_selectionManager ??= GetService<SelectionManager>();
System\Windows\Forms\Design\SplitContainerDesigner.cs (5)
198if (TryGetService(out SelectionManager? selMgr)) 319var selMgr = GetService<SelectionManager>(); 358SelectionManager? selMgr = GetService<SelectionManager>();
System\Windows\Forms\Design\StandardMenuStripVerb.cs (6)
253SelectionManager selMgr = (SelectionManager)_provider.GetService(typeof(SelectionManager)); 397SelectionManager selMgr = (SelectionManager)_provider.GetService(typeof(SelectionManager));
System\Windows\Forms\Design\TabControlDesigner.cs (3)
423SelectionManager selMgr = (SelectionManager)GetService(typeof(SelectionManager));
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (2)
225if (!TryGetService(out SelectionManager? selectionManager)) 456private void AddPanelSelectionGlyph(ToolStripPanelDesigner designer, SelectionManager selectionManager)
System\Windows\Forms\Design\ToolStripDesigner.cs (4)
672GetService<SelectionManager>().BodyGlyphAdorner.Glyphs.Insert(0, bodyGlyphForItem); 1267if (TryGetService(out SelectionManager selectionManager) && ToolStrip is not null && CanAddItems && ToolStrip.Visible) 2180SelectionManager selectionManager = GetService<SelectionManager>();
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (5)
197private void AddSelectionGlyphs(SelectionManager selectionManager, ISelectionService selectionService) 223if (TryGetService(out SelectionManager selectionManager)) 320if (_dummyToolStripGlyph is not null && TryGetService(out SelectionManager selectionManager)) 537if (TryGetService(out SelectionManager selectionManager)) 700GetService<SelectionManager>()?.BodyGlyphAdorner.Glyphs.Insert(0, _dummyToolStripGlyph);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (5)
326SelectionManager selectionManager = GetService<SelectionManager>(); 1010GetService<SelectionManager>().Refresh(); 1275SelectionManager selectionManager = GetService<SelectionManager>();
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
693GetService<SelectionManager>().NeedRefresh = false; 1611GetService<SelectionManager>()?.Refresh();
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
406SelectionManager? selectionManager = GetService<SelectionManager>();