I have a program where the user will thange the picture in a several picturebox and I want keep the changes when the form minimized or refreshed.

What I'm thinking about and asking for is to to save the picture in the picturebox in a temp file and load this picture file in the Paint event of the picture.

So how can I save the picture to a file?

Thanks for help.