1 write to _selSvc
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\SelectionUIService.cs (1)
72
_selSvc
= host.GetService<ISelectionService>();
20 references to _selSvc
System.Windows.Forms.Design (20)
System\Windows\Forms\Design\SelectionUIService.cs (17)
73
_selSvc
?.SelectionChanged += OnSelectionChanged;
145
_selSvc
?.SelectionChanged -= OnSelectionChanged;
390
ICollection selection =
_selSvc
!.GetSelectedComponents();
490
if (
_selSvc
is not null)
492
object? selComp =
_selSvc
.PrimarySelection;
508
if (_dragHandler is null &&
_selSvc
is not null)
518
_selSvc
.SetSelectedComponents(new object[] { hti.selectionUIHit!._component }, SelectionTypes.Auto);
535
_selSvc
.SetSelectedComponents(new object[] { hti.selectionUIHit!._component }, SelectionTypes.Primary);
713
if (_ctrlSelect && !_mouseDragging &&
_selSvc
is not null)
716
_selSvc
.SetSelectedComponents(new object[] { hti.selectionUIHit!._component }, SelectionTypes.Primary);
923
if (
_selSvc
is not null &&
_selSvc
.GetComponentSelected(component))
959
if (
_selSvc
is null)
966
ICollection col =
_selSvc
.GetSelectedComponents();
977
object? primary =
_selSvc
.PrimarySelection;
1289
if (
_selSvc
is not null &&
_selSvc
.GetComponentSelected(component))
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (3)
124
if (_selUIsvc.
_selSvc
is not null)
126
fActive = _component == _selUIsvc.
_selSvc
.PrimarySelection;
128
fActive = (fActive == (_selUIsvc.
_selSvc
.SelectionCount <= 1));