2 writes to _componentChangeService
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (2)
66
_componentChangeService
= (IComponentChangeService)_designerHost.GetService(typeof(IComponentChangeService));
1653
_componentChangeService
= null;
5 references to _componentChangeService
System.Windows.Forms.Design (5)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (5)
67
Debug.Assert(
_componentChangeService
is not null, "ToolStripKeyboardHandlingService relies on the componentChange service, which is unavailable.");
68
if (
_componentChangeService
is not null)
70
_componentChangeService
.ComponentRemoved += OnComponentRemoved;
1650
if (
_componentChangeService
is not null)
1652
_componentChangeService
.ComponentRemoved -= OnComponentRemoved;