C# Class Dalssoft.DiagramNet.UndoManager

显示文件 Open project: AlexandrSurkov/PKStudio

Protected Properties

Property Type Description
canRedo bool
canUndo bool
capacity int
currPos int
enabled bool
lastPos int
list System.IO.MemoryStream[]

Public Methods

Method Description
AddUndo ( object o ) : void
Redo ( ) : object
Undo ( ) : object
UndoManager ( int capacity ) : System

Private Methods

Method Description
ClearList ( ) : void
ClearList ( int p ) : void
DeserializeObject ( MemoryStream mem ) : object
PushList ( ) : void
SerializeObject ( object o ) : MemoryStream

Method Details

AddUndo() public method

public AddUndo ( object o ) : void
o object
return void

Redo() public method

public Redo ( ) : object
return object

Undo() public method

public Undo ( ) : object
return object

UndoManager() public method

public UndoManager ( int capacity ) : System
capacity int
return System

Property Details

canRedo protected_oe property

protected bool canRedo
return bool

canUndo protected_oe property

protected bool canUndo
return bool

capacity protected_oe property

protected int capacity
return int

currPos protected_oe property

protected int currPos
return int

enabled protected_oe property

protected bool enabled
return bool

lastPos protected_oe property

protected int lastPos
return int

list protected_oe property

protected MemoryStream[],System.IO list
return System.IO.MemoryStream[]