I am trying to set the background image of a form, but keep getting "Out of Memory" when the image comes from a stream.
The stream is working because I can use it for a picture box and it works normally.
Anyone seen this before?
Thanks!!
Printable View
I am trying to set the background image of a form, but keep getting "Out of Memory" when the image comes from a stream.
The stream is working because I can use it for a picture box and it works normally.
Anyone seen this before?
Thanks!!
Got it, the help file was wrong. When you set a form's BackgroundImage (From Stream) , you need to declare the image as a system.drawing.bitmap instead of system.drawing.image