CADability dotNET
The undo/redo sytem usually exists as a member in the Project and is accessed via Undo. The project handles the menu commands "MenuId.Edit.Undo" and ""MenuId.Edit.Redo" and calls UndoLastStep()()()() rsp. RedoLastStep()()()(). To add a step to the undo system call AddUndoStep(ReversibleChange)

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public class UndoRedoSystem
Visual Basic
Public Class UndoRedoSystem
Visual C++
public ref class UndoRedoSystem

Inheritance Hierarchy

System..::..Object
  CADability..::..UndoRedoSystem

See Also