Friday, February 4, 2011
Undo - Redo library for .NET
Recently I was working for a client who required a Undo - Redo functionality implemented for a listview on his C# based application. I did a search on the internet which introduced me to a design pattern called "Memento Pattern" which indeed is designed solely for the use of managing memory stacks. There were some good articles on CodeProject on implementing this, yet it was a bit time consuming for me to grasp the idea quickly. Luckily I came across this free library from Software Productions which gave a boost to my thoughts. Actually it uses a circular array for the memory stack and was quite generic too. I hope it helps others too.