I just want to put an image to my picturebox when my radiobutton is selected.
if (radioButton1.Checked)
{
//and here I want to put the image,but I don't know how.
//I have my image in a folder named 'images' on my project
}
Change the backgroundimage
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Scott LysleRank #49 · 31K reputationPosted Oct 5, 2007, 11:40 PM EDT
Image img =
Image.FromFile(filePath, true);pictureBox1.Image = img;