public static PopulateWithObjectsAndText ( |
||
listControl | ||
objectTextPairs | Object | |
리턴 | void |
PopulateWithObjectsAndText ( params Object [] objectTextPairs ) { ListControlUtil.PopulateWithObjectsAndText(this, objectTextPairs); }
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; }