Join Walt Ritscher for an in-depth discussion in this video Using the exercise files, part of Windows Presentation Foundation 3: Events and the Event Model.
- [Lecturer] If you are a member of lynda.com or LinkedIn Learning you have access to the exercise files used throughout this title. The files are in a folder named Exercise Files. Put this folder in a location that makes sense for your computer. This is how I organized my copy, I have a Courseware folder on my C drive, then a child folder for each course. This one is named Wpf03, and here's my copy of the files for this course. In order to use the exercises in the folder, you'll have to Visual Studio 2015 installed.
I encourage you to install the latest update for Visual Studio, which is called Update 3. Each chapter is numbered, I'll open up Chapter 2. If there is an exercise available for a video in this chapter, you'll find a matching numbered folder. Let's take a look at the files for MouseMove. This is the Start folder for the project. In some videos there's also a Done folder containing the final version of the project created in the video. I'll open the Start folder. Inside this folder you'll see there is an SLN file. This is the file that you open in Visual Studio.
Since I have Visual Studio installed on this computer I can double-click on this SLN file. In Visual Studio I can see my solution and my project file. After the project is open I encourage you to build a project by choosing Build Solution, that ensures the project is up-to-date and ready to use in the course. Now that you've seen how to open the Exercise Files, let's get started.
- Understanding routed events and event signatures
- Wiring up event handlers
- Event bubbling and tunneling
- Programming mouse events
- Programming keyboard and ink events