Click here to Skip to main content
15,886,362 members
Articles / Desktop Programming / WPF

Multilevel Undo and Redo Implementation in C# - Part II (Using Command Pattern)

Rate me:
Please Sign up or sign in to vote.
4.93/5 (52 votes)
17 Feb 2009CPOL9 min read 169.7K   3.5K   103  
How Command Pattern and Stack can be used to implement Undo/Redo operation in C#
<Application x:Class="UndoRedo_CommandPattern.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    StartupUri="MainWindow.xaml">
    <Application.Resources>
         
    </Application.Resources>
</Application>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) CP
Australia Australia
I am an Independent Contractor in Brisbane, Australia. For me, programming is a passion first, a hobby second, and a career third.

My Blog: http://weblogs.asp.net/razan/






Comments and Discussions