To show in windows form , we will use following controls of .Net framework:
- PictureBox
- TextBox
- Button
- openFileDialog
Create new solutions and add the above controls in windows form design.
In this project we will select a image from local computer disk using openFileDialog and Button . And we will set the image path in the PictureBox.
Here we will use
pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
to set full image in fixed sized pictureBox.