Picturebox control and paint events

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to write a simple drawing tool that saves images out as jpgs.

I've been using the paint event on the Panel control to draw the objects,
however I couldn't get the same drawing functionality when I switched to use
a Picturebox control.

I found that after all the objects had been painted on the control, they
"disappeared". I'm wondering if this is deliberate, and if someone can
suggest another way I can go about saving my images out to a file?

thanks

Kirsty
 
Thanks.

I did manage to get the image saved out of the picture box. The trouble was
I couldn't see it because the paint event wasn't showing up the objects I'd
drawn...

So although I can get an image out, I can't see it to edit it. Any
suggestions for another control, or how to solve the painting problem would
be much appreciated.

Kirsty
 
Back
Top