PopulateWithObjectsAndText ( params Object [] objectTextPairs ) { ListControlPlus.PopulateWithObjectsAndText(this, objectTextPairs); }
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; }