2 writes to _selectionService
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (2)
49_selectionService = serviceProvider.GetRequiredService<ISelectionService>(); 199_selectionService = null!;
6 references to _selectionService
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (6)
58_selectionService.SelectionChanged += OnSelectionChanged; 196if (_selectionService is not null) 198_selectionService.SelectionChanged -= OnSelectionChanged; 284if (_selectionService.GetComponentSelected(ce.Component!)) 412List<IComponent> selComps = [.._selectionService.GetSelectedComponents().Cast<IComponent>()]; 413object? primarySelection = _selectionService.PrimarySelection;