Building a Simple Image Viewer Application

To illustrate the role that Visual Studio plays in WPF application development, let’s build a sample application from scratch. In the tradition of “experience first,” let’s select something that can benefit from WPF’s strong suits, namely visualizations and robust control layouts and templating.

Consider an image viewer application. We can use this application to view a list of image thumbnails and, after selecting a thumbnail, can view the image itself and even make changes to the image.

We target the rough design shown in Figure 19.20.

Figure 19.20 A sketch of an image viewer UI.

image

Here are our base ...

Get Microsoft® Visual Studio® 2010 Unleashed 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.