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
}
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Scott LyslePosted Oct 6, 2007, 3:40 AM
Image img =
Image.FromFile(filePath, true);pictureBox1.Image = img;