2 instantiations of ChangeUndoEvent
System.Windows.Forms.Design (2)
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (2)
250
changeEvent = new
ChangeUndoEvent
(UndoEngine, e, serializeBeforeState);
260
changeEvent = new
ChangeUndoEvent
(UndoEngine, new ComponentChangingEventArgs(owningComp, null), serializeBeforeState);
9 references to ChangeUndoEvent
System.Windows.Forms.Design (9)
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (9)
19
private List<
ChangeUndoEvent
>? _changeEvents; // the list of change events we're currently capturing. Only valid until Commit is called.
74
foreach (
ChangeUndoEvent
e in _changeEvents)
149
else if (_events[i] is
ChangeUndoEvent
changeEvt && ChangeEventsSymmetric(changeEvt.ComponentChangingEventArgs, e))
176
if (_events[i] is
ChangeUndoEvent
ce && ChangeEventsSymmetric(ce.ComponentChangingEventArgs, e) && i != _events.Count - 1)
216
ChangeUndoEvent
ce = _changeEvents[idx];
239
ChangeUndoEvent
? changeEvent = null;
286
ChangeUndoEvent
? changeEvt = null;
292
changeEvt = _events[idx] as
ChangeUndoEvent
;
309
if (_events[i] is not
ChangeUndoEvent
)