2 instantiations of AddRemoveUndoEvent
System.Windows.Forms.Design (2)
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (2)
106
AddEvent(new
AddRemoveUndoEvent
(UndoEngine, e.Component, true));
344
AddRemoveUndoEvent evt =
new
(UndoEngine, e.Component, false);
5 references to AddRemoveUndoEvent
System.Windows.Forms.Design (5)
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (5)
20
private List<
AddRemoveUndoEvent
>? _removeEvents; // the list of remove events we're currently capturing. Only valid until a matching Removed is encountered.
82
foreach (
AddRemoveUndoEvent
e in _removeEvents)
145
if (_events[i] is
AddRemoveUndoEvent
addEvt && !addEvt.NextUndoAdds)
296
if (_events[idx] is
AddRemoveUndoEvent
evt && evt.OpenComponent == e.Component)
344
AddRemoveUndoEvent
evt = new(UndoEngine, e.Component, false);