2 writes to _selectionService
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (2)
54
_selectionService
= (ISelectionService)serviceProvider.GetService(typeof(ISelectionService));
1647
_selectionService
= null;
8 references to _selectionService
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (8)
55
Debug.Assert(
_selectionService
is not null, "ToolStripKeyboardHandlingService relies on the selection service, which is unavailable.");
56
if (
_selectionService
is not null)
58
_selectionService
.SelectionChanging += OnSelectionChanging;
59
_selectionService
.SelectionChanged += OnSelectionChanged;
218
get =>
_selectionService
;
1643
if (
_selectionService
is not null)
1645
_selectionService
.SelectionChanging -= OnSelectionChanging;
1646
_selectionService
.SelectionChanged -= OnSelectionChanged;