1 write to _unitStack
System.Windows.Forms.Design (1)
System\ComponentModel\Design\UndoEngine.cs (1)
39
_unitStack
= new Stack<UndoUnit>();
25 references to _unitStack
System.Windows.Forms.Design (25)
System\ComponentModel\Design\UndoEngine.cs (25)
159
UndoUnit unit =
_unitStack
.Pop();
168
if (
_unitStack
.Count == 0)
175
if (
_unitStack
.Count == 0)
183
if (
_unitStack
.Count == 0)
318
foreach (UndoUnit unit in
_unitStack
)
323
if (
_unitStack
.Count > 0)
333
if (Enabled && _executingUnit is null &&
_unitStack
.Count == 0)
345
_unitStack
.Push(CreateUndoUnit(name, true));
349
foreach (UndoUnit unit in
_unitStack
)
357
foreach (UndoUnit unit in
_unitStack
)
362
if (
_unitStack
.Count > 0)
372
if (Enabled && _executingUnit is null &&
_unitStack
.Count == 0)
389
_unitStack
.Push(CreateUndoUnit(name, true));
393
foreach (UndoUnit unit in
_unitStack
)
401
foreach (UndoUnit unit in
_unitStack
)
406
if (
_unitStack
.Count > 0)
425
if (Enabled && _executingUnit is null &&
_unitStack
.Count == 0)
437
_unitStack
.Push(CreateUndoUnit(name, true));
490
foreach (UndoUnit unit in
_unitStack
)
500
if (Enabled && _executingUnit is null &&
_unitStack
.Count == 0)
503
_unitStack
.Push(CreateUndoUnit(name, true));
508
foreach (UndoUnit unit in
_unitStack
)
516
if (_executingUnit is null &&
_unitStack
.Count > 0)
529
_unitStack
.Push(CreateUndoUnit(_host.TransactionDescription,
_unitStack
.Count == 0));