2 writes to _componentChangeService
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripInSituService.cs (2)
35
_componentChangeService
= (IComponentChangeService)_designerHost.GetService(typeof(IComponentChangeService));
63
_componentChangeService
= null;
5 references to _componentChangeService
System.Windows.Forms.Design (5)
System\Windows\Forms\Design\ToolStripInSituService.cs (5)
36
Debug.Assert(
_componentChangeService
is not null, "ToolStripKeyboardHandlingService relies on the componentChange service, which is unavailable.");
37
if (
_componentChangeService
is not null)
39
_componentChangeService
.ComponentRemoved += OnComponentRemoved;
60
if (
_componentChangeService
is not null)
62
_componentChangeService
.ComponentRemoved -= OnComponentRemoved;