1 instantiation of UndoUnit
System.Windows.Forms.Design (1)
System\ComponentModel\Design\UndoEngine.cs (1)
202return new UndoUnit(this, name);
15 references to UndoUnit
System.Windows.Forms.Design (15)
System\ComponentModel\Design\UndoEngine.cs (14)
21private readonly Stack<UndoUnit> _unitStack; // the stack of active (non-committed) units. 22private UndoUnit? _executingUnit; // the unit currently executing an undo. 39_unitStack = new Stack<UndoUnit>(); 104protected abstract void AddUndoUnit(UndoUnit unit); 159UndoUnit unit = _unitStack.Pop(); 200protected virtual UndoUnit CreateUndoUnit(string? name, bool primary) 213protected virtual void DiscardUndoUnit(UndoUnit unit) 318foreach (UndoUnit unit in _unitStack) 349foreach (UndoUnit unit in _unitStack) 357foreach (UndoUnit unit in _unitStack) 393foreach (UndoUnit unit in _unitStack) 401foreach (UndoUnit unit in _unitStack) 490foreach (UndoUnit unit in _unitStack) 508foreach (UndoUnit unit in _unitStack)
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (1)
374UndoUnit? savedUnit = UndoEngine._executingUnit;