I have a bitmap loaded onto a winform via an imagebox. When I want to update the image I try as such:
imagebox.image = null;
draw(); //implements the drawing of the bitmap and assigns to the imagebox/winform
However, this will only work if I hide and then show the form again? How can I get around this?
EDIT: Problem resolved.
Make the image property setter smarter. For example:
Now the visible image refreshes automatically.