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:

Which control would you use to display text that the user can't edit?

2:

What common property is shared by the Label control and text box 2and whose value determines what the user sees in the control?

3:

To change the Height of a text box, you must set what property?

4:

What is the default event of a Button control?

5:

A button whose Click event is triggered when the user presses Enter, regardless of the control that has the focus, is called an ?

6:

Which control would you use to display a yes/no value to a user?

7:

How would you create two distinct sets of mutually exclusive option buttons ?

8:

To manipulate items in a list, you use what collection?

9:

What method adds an item to a list in a specific location?

Exercises

  1. Create a form with a text box and a combo box. Add a button that, when clicked, adds the contents of the text box to the combo box.

  2. Create a form with two list boxes. Add a number of items to one list box at design time using the Properties window. Create a button that, when clicked, removes the selected item in the first list and adds it to the second list.


   
Top


Sams Teach Yourself C# in 24 Hours
Sams Teach Yourself Visual Basic 2010 in 24 Hours Complete Starter Kit (Sams Teach Yourself -- Hours)
ISBN: 0672331136
EAN: 2147483647
Year: 2002
Pages: 253
Authors: James Foxall

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