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