Can anyone give an idea of how should I implement undo/redo of files (dirs, subdirs) mapped in a treeview - C#?
Would be great some code samples
Can anyone give an idea of how should I implement undo/redo of files (dirs, subdirs) mapped in a treeview - C#?
Would be great some code samples
Undo / redo is typically implemented using the so-called "command pattern". Search with Google or read the following article:
Consider implementing Command pattern (GoF):
For a quick linear undo/redo, you can use Memento pattern using zip of file as memento.