We’ll bring this chapter to a close by presenting InkPadJunior, a simple inking application that you can use to generate files with which to run your own tests, as shown in Figure 9-4. It supports loading and saving ISF files, as well as using various colors of ink. As a special bonus, it also supports a simple undo/redo mechanism based on cloning ink objects whenever they change. The undo functionality is included as a starting point to explore the many possibilities of how you might implement undo in your own application.
Figure 9-4. InkPadJunior supports loading, saving, capturing, and undoing ink.
Example 9-4. InkPadJunior.cs