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