Test Your Knowledge: Exercises

Exercise 19-1. We’ll start things off simply. Create a WPF application with several Button and TextBox controls. Set the TextBox controls to have white text on a blue background, and the Button controls to have green text on a gray background.

Exercise 19-2. Now you’ll create your own animation. Create a WPF application with a single Button control (it doesn’t have to do anything). Add an animation that increases the size of the button from the standard size to 300 units wide by 200 units high, and then reverses itself.

Exercise 19-3. Create a rectangle, 100 by 200. Add three buttons to the application: one to rotate the rectangle clockwise, the second to rotate it counterclockwise, and the third to stop the rotation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset