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: Form menu bars are created using the Context Menu control.

2:

To create an accelerator or hotkey, preface the character with a(n):

3:

If you've designed a menu using a Main Menu control, but that menu isn't visible on the form designer, how do you make it appear?

4:

To place a check mark next to a menu item, you set what property of the item?

5:

How do you add code to a menu item?

6:

Toolbar items are part of what collection?

7:

To create a separator on a toolbar, you create a new button and set what property?

8:

True or False: Every button on a toolbar has its own Click event.

9:

What must you do to have panels appear on a status bar?

Exercises

  1. Modify the code you created for the toolbar that closes the form to take into consideration the checked status of the Ask Before Closing menu item.

  2. Implement a toggle button that works just like the Ask Before Closing menu item.


   
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