This week we will explore creating GUIs using
Windows Presentation Foundation and we will discuss the Final Exam Project due in class next week.
The Final Exam Project is exercise 15.8 on page 792 of your text.
This program is modeled after the
XAML Painter application shown in Figures 15.13 and 15.16 on pages 746 - 753. For this program you should allow the user to select the brush color using the color chooser instead of radio buttons. You will also need to use a style to maintain a standard appearance for each of the sliders. How to apply styles and the color chooser are covered in Chapter 15 in Figure 15.23 and 15.24 on pages 763 - 765.
Before beginning the project you should review pages 742 - 745 on creating WPF applications and the principles of flow-based layouts. It is important that you choose the WPF application type when creating your application in Visual Studio.
Remember that you can grab the
example code seen in Figures 15.13, 15.16, 15.23 and 15.24 on my blog. This should serve as a good starting point for your project.
The Final Exam Project is due in class next week. Please upload your project and all of the corresponding files to Blackboard by the end of class next Thursday, April 21, 2011.