Picturebox & ImageList
Posted on 2006-06-21
I have a picturebox that I want to swap image during hover, leave, enter. I placed my images onto an ImageList set at 170x90 and colordepth32bit. When the hove code excute, the image is distorted and doesnt display well.
private void OnMouseHover(object sender, System.EventArgs e)
//does not work - images distorted
pictureBoxOption1.Image = imageList.Images;
I dont want to read from file at runtime. How do I fix this?
thanks in advance