Chapter 7

 < Day Day Up > 

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.

     < Day Day Up > 


    Core C# and  .NET
    Core C# and .NET
    ISBN: 131472275
    EAN: N/A
    Year: 2005
    Pages: 219

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net