Esempio n. 1
0
 PopulateWithObjectsAndText
 (
     params Object [] objectTextPairs
 )
 {
     ListControlPlus.PopulateWithObjectsAndText(this, objectTextPairs);
 }
Esempio n. 2
0
 PopulateWithEnumValues
 (
     Type enumType,
     Boolean formatForUser
 )
 {
     ListControlPlus.PopulateWithEnumValues(this, enumType, formatForUser);
 }
Esempio n. 3
0
 PopulateWithEnumValues
 (
     Type oEnumType,
     Boolean bFormatForUser
 )
 {
     ListControlPlus.PopulateWithEnumValues(this, oEnumType, bFormatForUser);
 }
Esempio n. 4
0
        InitializeListControl
        (
            ListControl oListControl
        )
        {
            Debug.Assert(oListControl != null);

            ListControlPlus.PopulateWithObjectsAndText(oListControl,
                                                       new Object [] {
                ImageFormat.Bmp, "BMP (.bmp)",
                ImageFormat.Gif, "GIF (.gif)",
                ImageFormat.Jpeg, "JPEG (.jpg)",
                ImageFormat.Png, "PNG (.png)",
                ImageFormat.Tiff, "TIFF (.tif)"
            }

                                                       );

            oListControl.SelectedValue = ImageFormat.Jpeg;
        }