Create Undo functionnality.
-
Hello. I have red Code project articles on implementing Undo and have come to the conlusion that the best and easiest way for doing it is Undo and Redo the "Easy" Way and have found it very interesting. The question is. Can i do it in C# and if yes, does naybody have some premade code. Only Absolute Power and Absolutely No power matters. The rest is slavery.
-
Hello. I have red Code project articles on implementing Undo and have come to the conlusion that the best and easiest way for doing it is Undo and Redo the "Easy" Way and have found it very interesting. The question is. Can i do it in C# and if yes, does naybody have some premade code. Only Absolute Power and Absolutely No power matters. The rest is slavery.
It is an interesting concept, but probably not so very well suited for the .NET world with its own memory manager and a garbage collector, also the word "easy" in the article name is in quotes for a purpose. You will be much more better of with an implementation of a "Command" OO design pattern, which will allow your app to support the same functionality but much more elegantly.