C
Christian H
Hello,
I've tried to find information about how to implement an Undo/Redo pattern.
This article describes such a pattern:
http://www.codeproject.com/csharp/PcObjectUndo.asp , but is a little bit to
narrow, since it only can handle 1 object, and since it only works on
properties.
What if you , in an application, have more than 1 object , and you want to
use undo/redo on them?
What if you'd like it to work on methods as well as properties?
If there is a better pattern than the one in the link, that will let me do
this, please let me know.
Christian H.
I've tried to find information about how to implement an Undo/Redo pattern.
This article describes such a pattern:
http://www.codeproject.com/csharp/PcObjectUndo.asp , but is a little bit to
narrow, since it only can handle 1 object, and since it only works on
properties.
What if you , in an application, have more than 1 object , and you want to
use undo/redo on them?
What if you'd like it to work on methods as well as properties?
If there is a better pattern than the one in the link, that will let me do
this, please let me know.
Christian H.