
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Upload image code in visual studio very simple easy to understand No error fully executable
Typology: Study Guides, Projects, Research
1 / 1
This page cannot be seen from the preview
Don't miss anything!

->openFileDialog us to browse window and select image. ->pictureBox1 is area where picture display. code behind button::
private void button1_Click(object sender, EventArgs e) { DialogResult dr = openFileDialog1.ShowDialog();//To browse file after clicking browse button if (dr == DialogResult.OK)//check if any image selected or not { pictureBox1.Image = Image.FromFile(openFileDialog1.FileName);//give image path from selected image