This is definitely ground that has been trod before. This link discusses the command design pattern, which let's you encapsulate actions and do things like undo/redo easily.
http://www.dofactory.com/Patterns/PatternCommand.aspx Best of all there is a real world code example link. Here is another link with an example... www.thecodeproject.com/csharp/SharpEd.asp If you want to do some more digging, Google for the Command pattern and Undo. -- Dean Fiala Very Practical Software, Inc http://www.vpsw.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
