Core C# and .NET

 < Day Day Up > 

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

How do you have the ListBox display the ProductID and Quantity?

4:

What event is fired when an item in a ListBox is selected? What ListBox properties are used to identify the selected item?

5:

What property and value are set on a ListView to display its full contents in a grid layout?

6:

Which TReeNode property can be used to store object data in a TReeView node?

7:

Which two events must the destination control in a drag-and-drop operation support?

8:

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?

9:

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?

     < Day Day Up > 

    Категории