undo-redo for listview
-
I need to implement an undo and redo for an entire row in a listview containing approximately 10 columns. I'm not sure of the best way to implement this. The only thing that I've thought of is a stack implementation. I need to be able to undo a delete, an insert (add), a movement within the list Any ideas? Thank you and any ideas would be appreciated.
-
I need to implement an undo and redo for an entire row in a listview containing approximately 10 columns. I'm not sure of the best way to implement this. The only thing that I've thought of is a stack implementation. I need to be able to undo a delete, an insert (add), a movement within the list Any ideas? Thank you and any ideas would be appreciated.
You can try looking at the Memento pattern: http://www.codeproject.com/useritems/GenericMementoPattern.asp[^] http://www.codeproject.com/csharp/undoredobuffer.asp[^] http://www.codeproject.com/csharp/generic_undo_redo.asp[^]
----------------------------- In just two days, tomorrow will be yesterday.