Home > Articles > Programming > Windows Programming

  • Print
  • + Share This
This chapter is from the book

7.11 Test Your Understanding

  1. Why is a container control such as a GroupBox used with radio buttons?
  2. What is the SizeMode property set to in order to automatically resize and fill an image in a PictureBox?
  3. Suppose you place objects in a ListBox that have these properties:

    string Vendor, string ProductID, int Quantity
  4. How do you have the ListBox display the ProductID and Quantity?
  5. What event is fired when an item in a ListBox is selected? What ListBox properties are used to identify the selected item?
  6. What property and value are set on a ListView to display its full contents in a grid layout?
  7. Which TreeNode property can be used to store object data in a TreeView node?
  8. Which two events must the destination control in a drag-and-drop operation support?
  9. The Property Browser in VS.NET uses metadata to categorize a control’s properties and events and assign default values. How do you generate this information for the properties in a custom control?
  10. What class is used to read text from a text resource file embedded in an assembly? What method is used to read values from the file?
  • + Share This
  • 🔖 Save To Your Account