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 increment of time is applied to the Interval property of the Timer control?
2:What collection is used to add new tabs to a Tab control?
3:What property returns the index of the currently selected tab?
4:True or False: You should use different Image List controls for storing images of different sizes.
5:To see columns in a List View control, the View property must be set to what?
6:The additional columns of data that can be attached to an item in a list view are stored in what collection?
7:What property of what object would you use to determine how many items are in a List View?
8:Each item in a Tree View is called a what?
9:How do you make a node the child of another node?

Exercises

  1. Add a second Image List to your project with the List View. Place an icon (32×32 pixels) in this Image List and link the Image List to the LargeImageList property of the List View control. Change the View to Large Icons. Does the icon appear next to a list item? If not, is there a property of an item you can set so that it does?

  2. Create a new project and add a List View, a button, and a text box to the default form. When the button is clicked, create a new item in the List View using the text entered into the text box.

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

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