Figure 2. Create an Image Viewer
The FileInfoCollection object lets you load a list of filenames quickly into a ListBox, ComboBox, or DataGrid control without writing any code. You can then bind a Label control to the FullName property of the FileInfo object and display the corresponding image in a PictureBox by trapping the ListBox_SelectedIndexChanged event. Or, you can use a custom BoundPictureBox control to display the bound image without writing a single line of code.