2 writes to _changeService
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ParentControlDesigner.cs (2)
695
_changeService
= null;
1212
_changeService
= (IComponentChangeService)host.GetService(typeof(IComponentChangeService));
15 references to _changeService
System.Windows.Forms.Design (15)
System\Windows\Forms\Design\ParentControlDesigner.cs (15)
557
_changeService
?.OnComponentChanging(Control, controlsProp);
588
_changeService
?.OnComponentChanged(Control, controlsProp, Control.Controls, Control.Controls);
693
_changeService
.ComponentRemoving -= OnComponentRemoving;
694
_changeService
.ComponentRemoved -= OnComponentRemoved;
1213
if (
_changeService
is not null)
1215
_changeService
.ComponentRemoving += OnComponentRemoving;
1216
_changeService
.ComponentRemoved += OnComponentRemoved;
1331
_changeService
.OnComponentChanging(Control, TypeDescriptor.GetProperties(Control)["Controls"]);
1343
_changeService
.OnComponentChanged(Control, TypeDescriptor.GetProperties(Control)["Controls"]);
1361
_changeService
.OnComponentChanging(Control, TypeDescriptor.GetProperties(Control)["Controls"]);
2409
_changeService
?.OnComponentChanging(cParent, controlsProp);
2412
_changeService
?.OnComponentChanged(cParent, controlsProp, cParent.Controls, cParent.Controls);
2415
if (_suspendChanging == 0 &&
_changeService
is not null)
2417
_changeService
.OnComponentChanging(parent, controlsProp);
2424
_changeService
?.OnComponentChanged(parent, controlsProp, parent.Controls, parent.Controls);