O'Reilly logo

Building Tablet PC Applications by Philip Su, Rob Jarrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required