How can i take a file from an openfiledialog and show it in a picturebox.
I have tried i like this but it wont work.
Thanks in advance
Code:private void button1_Click(object sender, EventArgs e) { openFileDialog1.ShowDialog(); pictureBox1.BackgroundImage = Image.FromFile(openFileDialog1.FileName); pictureBox1.Refresh(); }



LinkBack URL
About LinkBacks


