Quote:
Originally Posted by NickFitz
First, you need to set the AutoRedraw property to True before you do the drawing - the system then knows to keep track of what you draw. Otherwise, it expects you to have a Paint event handler that will redraw it every time.
You can check if this is the problem by hiding the window behind another window and then bringing it to the front again - if the PictureBox isn't redrawn, then change the code to set AutoRedraw before drawing, and try again - it should now work as expected.
|
Yup.
Did that, it now redraws ok... still doesn't save the image though...
I'm onto the next suggestion now, with the .Image thingie instead of the .Picture thingie...
This is so exciting...
