Workshop

The Workshop is designed to help you anticipate possible questions, review what you've learned, and get you thinking about how to put your knowledge into practice. The answers to the quiz are in Appendix A,“Answers to Quizzes/Exercises.”

Quiz

1:What type of C# project creates a standard Windows program?
2:What window is used to change the attributes (location, size, and so on) of a form or control?
3:How do you access the default event (code) of a control?
4:What property of a PictureBox do you set to display an image?
5:What is the default event for a Button control?

Exercise

  1. Change your Picture Viewer program so that the user can also locate and select GIF files. (Hint: Change the Filter property of the OpenFileDialog control.)

  2. Alter the form in your Picture Viewer project so that the buttons are side by side in the lower-right corner of the form, rather than vertically aligned in the upper-right corner.

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

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