2 types derived from UndoEngine
DesignSurfaceExt (1)
UndoEngineExt.cs (1)
8public class UndoEngineExt : UndoEngine
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\UndoUnitTests.cs (1)
9public class UndoUnitTests : UndoEngine
30 references to UndoEngine
DesignSurfaceExt (5)
DesignSurfaceExt.cs (2)
329ServiceContainer.RemoveService(typeof(UndoEngine), false); 330ServiceContainer.AddService(typeof(UndoEngine), _undoEngine);
UndoEngineExt.cs (3)
31UndoEngine.UndoUnit unit = _undoStack.Pop(); 53UndoEngine.UndoUnit unit = _redoStack.Pop(); 69protected override void AddUndoUnit(UndoEngine.UndoUnit unit)
System.Design (1)
artifacts\obj\System.Design.Facade\Release\net9.0\System.Design.Forwards.cs (1)
65[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.UndoEngine))]
System.Windows.Forms.Design (20)
System\ComponentModel\Design\UndoEngine.UndoUnit.AddRemoveUndoEvent.cs (2)
26public AddRemoveUndoEvent(UndoEngine engine, IComponent component, bool add) 70public override void Undo(UndoEngine engine)
System\ComponentModel\Design\UndoEngine.UndoUnit.ChangeUndoEvent.cs (5)
28public ChangeUndoEvent(UndoEngine engine, ComponentChangingEventArgs e, bool serializeBeforeState) 69public override void BeforeUndo(UndoEngine engine) 108private void SaveAfterState(UndoEngine engine) 131private static SerializationStore Serialize(UndoEngine engine, object component, MemberDescriptor? member) 152public override void Undo(UndoEngine engine)
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (2)
26public UndoUnit(UndoEngine engine, string? name) 55protected UndoEngine UndoEngine { get; }
System\ComponentModel\Design\UndoEngine.UndoUnit.RenameUndoEvent.cs (1)
27public override void Undo(UndoEngine engine)
System\ComponentModel\Design\UndoEngine.UndoUnit.UndoEvent.cs (2)
28public virtual void BeforeUndo(UndoEngine engine) 35public abstract void Undo(UndoEngine engine);
System\Windows\Forms\Design\DocumentDesigner.cs (3)
35private UndoEngine _undoEngine; 1090_undoEngine = GetService(typeof(UndoEngine)) as UndoEngine;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (3)
25private UndoEngine _undoEngine; 216_undoEngine = GetService(typeof(UndoEngine)) as UndoEngine;
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
30private UndoEngine _undoEngine;
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
67private UndoEngine _undoEngine;
System.Windows.Forms.Design.Tests (4)
Mocks\MockSite.cs (1)
79.Setup(s => s.GetService(typeof(UndoEngine)))
System\ComponentModel\Design\UndoUnitTests.cs (2)
54public SubUndoUnit(UndoEngine engine, string name) : base(engine, name) 58public new UndoEngine UndoEngine => base.UndoEngine;
TestControlDesigner.Mocks.cs (1)
111.Setup(s => s.GetService(typeof(UndoEngine)))