Image Viewer
You can load an image into a PictureBox control at runtime by calling the Image.FromFile method. For example, assume that piclmage is a PictureBox control and filename is a variable containing the name of a graphic file. The following statement loads the graphic file into the PictureBox control: piclmage.Image = Image.FromFile(filename)
Create an application that has a PictureBox control on a form. The PictureBox control should be configured so it fills the entire area of the form and resizes when the user resizes the form.
The application should have a File menu with an Open command. The Open command should display an Open dialog box, displaying files of the following graphic types:
• Bitmaps (*.bmp)
• JPEG images (*.jpg)
• GIF images (*.gif)
When the user selects a file with the Open dialog box, the application should display the image in the PictureBox control.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.