public override void CopyOldValueForUndo(ChangedEventArgs e) { if (e.SubHint == 0x5b8) { if (!e.IsBeforeChanging) { ChangedEventArgs args1 = e.FindBeforeChangingEdit(); if (args1 != null) { e.OldValue = args1.NewValue; } } } else { base.CopyOldValueForUndo(e); } }
public override void CopyOldValueForUndo(ChangedEventArgs e) { if (e.SubHint == 0x4b4) { if (!e.IsBeforeChanging) { ChangedEventArgs args1 = e.FindBeforeChangingEdit(); if (args1 != null) { e.OldValue = args1.NewValue; } } } else { base.CopyOldValueForUndo(e); } }