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