If you break down the problem, it's really easy to implement undo/redo based
on your application's common functionality.
Basically, there are two stacks Undo stack and Redo stack. The Redo stack
gets pushed with items that are popped from the Undo Stack. Whenever an
item is pushed to the Undo stack, the redo stack is cleared.
Depending on the operations, you can define classes that encapsulate the
action and the data associated with the action. For example, if you are
moving a control from one location to another, you'll store the control's
old and new location and the action is "move".
Hope this helps you get started on your own Undo/Redo stack.
-vJ
"babylon" <am***@hotmail.com> wrote in message
news:e9**************@TK2MSFTNGP11.phx.gbl...
any facilities in csharp that can help me implmenting undo/redo in my
application?
thx