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:

True or False: The first control selected in a series is always made the active control.

2:

How many methods are there to add a control to a form from the toolbox?

3:

If you double-click a tool in the toolbox, where on the form is it placed?

4:

Which property fixes an edge of a control to an edge of a form?

5:

Which property do you change to hide the grid on a form?

6:

Which menu contains the functions for spacing and aligning controls?

7:

Which property do you set to make a form a MDI parent?

Exercises

  1. Use your knowledge of the Anchor property and modify the Picture Viewer project you built in Hour 1 so that the main form can be sized . The buttons should always stay the size that they are and in the relative location in which they're placed, but the picture box should change size to show as much of the picture as possible, given the size of the form.

  2. Modify the MDI Example project in this hour so that the first child form shows another instance of itself, rather than showing an instance of the second child form.


   
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