InkPadJunior

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.

InkPadJunior supports loading, saving, capturing, and undoing ink.

Figure 9-4. InkPadJunior supports loading, saving, capturing, and undoing ink.

Example 9-4. InkPadJunior.cs

//////////////////////////////////////////////////////////////////// ...

Get Building Tablet PC Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.