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.

Quiz

1.

What type of Visual 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 in the IDE?

3.

How do you access the default event (code) of a control?

4.

What property of a picture box do you set to display an image?

5.

What is the default event for a button control?

Answers

1.

Windows Application

2.

Properties Window

3.

Double-click the control in the designer

4.

The Image property

5.

The Click event

Exercises

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.

Create a new project and put two buttons on it. Place them in the bottom-right corner of the form.




Sams Teach Yourself Microsoft Visual C# 2005 in 24 Hours, Complete Starter Kit
Sams Teach Yourself Visual C# 2005 in 24 Hours, Complete Starter Kit
ISBN: 0672327406
EAN: 2147483647
Year: N/A
Pages: 248
Authors: James Foxall

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net