1 write to _selSvc
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\SelectionUIService.cs (1)
72
_selSvc
= host.GetService<ISelectionService>();
22 references to _selSvc
System.Windows.Forms.Design (22)
System\Windows\Forms\Design\SelectionUIService.cs (19)
73
if (
_selSvc
is not null)
75
_selSvc
.SelectionChanged += OnSelectionChanged;
148
if (
_selSvc
is not null)
150
_selSvc
.SelectionChanged -= OnSelectionChanged;
396
ICollection selection =
_selSvc
!.GetSelectedComponents();
496
if (
_selSvc
is not null)
498
object? selComp =
_selSvc
.PrimarySelection;
514
if (_dragHandler is null &&
_selSvc
is not null)
524
_selSvc
.SetSelectedComponents(new object[] { hti.selectionUIHit!._component }, SelectionTypes.Auto);
541
_selSvc
.SetSelectedComponents(new object[] { hti.selectionUIHit!._component }, SelectionTypes.Primary);
719
if (_ctrlSelect && !_mouseDragging &&
_selSvc
is not null)
722
_selSvc
.SetSelectedComponents(new object[] { hti.selectionUIHit!._component }, SelectionTypes.Primary);
929
if (
_selSvc
is not null &&
_selSvc
.GetComponentSelected(component))
965
if (
_selSvc
is null)
972
ICollection col =
_selSvc
.GetSelectedComponents();
983
object? primary =
_selSvc
.PrimarySelection;
1301
if (
_selSvc
is not null &&
_selSvc
.GetComponentSelected(component))
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (3)
127
if (_selUIsvc.
_selSvc
is not null)
129
fActive = _component == _selUIsvc.
_selSvc
.PrimarySelection;
131
fActive = (fActive == (_selUIsvc.
_selSvc
.SelectionCount <= 1));