1 write to ComponentChangeService
System.Windows.Forms.Design (1)
System\ComponentModel\Design\UndoEngine.cs (1)
45
ComponentChangeService
= GetRequiredService<IComponentChangeService>();
18 references to ComponentChangeService
System.Windows.Forms.Design (18)
System\ComponentModel\Design\UndoEngine.cs (17)
51
ComponentChangeService
.ComponentAdding += OnComponentAdding;
52
ComponentChangeService
.ComponentChanging += OnComponentChanging;
53
ComponentChangeService
.ComponentRemoving += OnComponentRemoving;
54
ComponentChangeService
.ComponentAdded += OnComponentAdded;
55
ComponentChangeService
.ComponentChanged += OnComponentChanged;
56
ComponentChangeService
.ComponentRemoved += OnComponentRemoved;
57
ComponentChangeService
.ComponentRename += OnComponentRename;
235
ComponentChangeService
.ComponentAdding -= OnComponentAdding;
236
ComponentChangeService
.ComponentChanging -= OnComponentChanging;
237
ComponentChangeService
.ComponentRemoving -= OnComponentRemoving;
238
ComponentChangeService
.ComponentAdded -= OnComponentAdded;
239
ComponentChangeService
.ComponentChanged -= OnComponentChanged;
240
ComponentChangeService
.ComponentRemoved -= OnComponentRemoved;
241
ComponentChangeService
.ComponentRename -= OnComponentRename;
416
ComponentChangeService
.OnComponentChanged(ro.component, ro.member);
442
if (Enabled && _host is not null && _host.Container is not null &&
ComponentChangeService
is not null)
480
ComponentChangeService
.OnComponentChanging(comp, prop);
System\ComponentModel\Design\UndoEngine.UndoUnit.RenameUndoEvent.cs (1)
32
engine.
ComponentChangeService
.OnComponentChanging(comp, null);