Hello,
I have a couple of pictureboxes in my report. I programmatically bind an image file to a picturebox object using the following code.
Before the report is created/displayed I can modify the image located at sketchpath.path. After I open the report and then close it, I am no longer able to perform any IO on the image until I restart my application.
How do I have the report release the image resource?
In the report dispose event I have set the picturebox value to null and this does not help.
Any help would be greatly appreciated!
I have a couple of pictureboxes in my report. I programmatically bind an image file to a picturebox object using the following code.
pictureBox_Specimen1.Value = System.Drawing.
Image.FromFile(sketchpath.Path);
Before the report is created/displayed I can modify the image located at sketchpath.path. After I open the report and then close it, I am no longer able to perform any IO on the image until I restart my application.
How do I have the report release the image resource?
In the report dispose event I have set the picturebox value to null and this does not help.
Any help would be greatly appreciated!