M
moondaddy
I'm painting images onto a windows form using this method:
e.Graphics.DrawImageUnscaled(m_ItemImage, x, y)
every time I select a product. However, some products don't have an image
so when a user selects a different product from a list and that product
doesn't have an image, I need to clear the image from the previous product
that was painted onto the form.
I was thinking of creating a clear image and using the DrawImageUnscaled
method, but if anyone has a better idea, I'm all ears.
Can anyone make some good recommendations.
Thanks.
e.Graphics.DrawImageUnscaled(m_ItemImage, x, y)
every time I select a product. However, some products don't have an image
so when a user selects a different product from a list and that product
doesn't have an image, I need to clear the image from the previous product
that was painted onto the form.
I was thinking of creating a clear image and using the DrawImageUnscaled
method, but if anyone has a better idea, I'm all ears.
Can anyone make some good recommendations.
Thanks.