i want to put an image to a picturebox when i click a button, the iage does not apearthis is the code i'm using:
private Bitmap MyImage ;
private void button9_Click(object sender, System.EventArgs e)
{
// Sets up an image object to be displayed.
MyImage.Dispose();
}
MyImage =
pictureBox1.Image = (Image) MyImage ;
pictureBox1.Refresh();
}can someone help....Jorge Rodrigues