PopulateWithObjectsAndText ( params Object [] objectTextPairs ) { ListControlUtil.PopulateWithObjectsAndText(this, objectTextPairs); }
PopulateWithEnumValues ( Type enumType, Boolean formatForUser ) { ListControlUtil.PopulateWithEnumValues(this, enumType, formatForUser); }
InitializeListControl ( ListControl listControl ) { Debug.Assert(listControl != null); ListControlUtil.PopulateWithObjectsAndText(listControl, new Object [] { ImageFormat.Bmp, "BMP (.bmp)", ImageFormat.Gif, "GIF (.gif)", ImageFormat.Jpeg, "JPEG (.jpg)", ImageFormat.Png, "PNG (.png)", ImageFormat.Tiff, "TIFF (.tif)" } ); listControl.SelectedValue = ImageFormat.Jpeg; }