public void DecrementSavePoint() { if (--this.CurrentSavePoint == -1) { this.CurrentSavePoint = this.MaxUndoRedoCount - 1; } }