Previous Section  < Day Day Up >  Next Section

Chapter 7

A1:

Only one radio button in a group may be selected at a time. A GroupBox provides a way to group radio buttons logically.

A2:


SizeMode = PictureBoxSizeMode.StretchImage


A3:

To display selected fields of an object in a ListBox, override the object's ToString() method to display the desired fields.

A4:

The SelectedIndexChanged event is fired. Use the SelectedIndex to get the index of the selected item, or SelectedItem to get the object selected.

A5:

Set View property to View.Details.

A6:

The Tag property can be used to store objects.

A7:

DragEnter and DragDrop must be supported by a destination control for drag and drop to work.

A8:

Assign Browsable, Category, and Description attributes.

A9:

The ResourceManager class is used to access resources. Its GetString(name) method returns the value associated with a name in the text file.

    Previous Section  < Day Day Up >  Next Section