B
Bob
Hi,
I have a pictureBox.
What is the most efficient way to load an image (png) : FromFile or
FromStream ?
The picture Box is set to Visible = True or Visible = False at the run time.
For the moment i use FromFile, but sometimes, i have an error saying that
the file is all ready in use (can happen or not, and never at the same
moment...)
If i use FromStream, and if i set the Enabled property to false, if another
window is moved on the pictureBox, i have a memory Overflow...
Thanks !
I have a pictureBox.
What is the most efficient way to load an image (png) : FromFile or
FromStream ?
The picture Box is set to Visible = True or Visible = False at the run time.
For the moment i use FromFile, but sometimes, i have an error saying that
the file is all ready in use (can happen or not, and never at the same
moment...)
If i use FromStream, and if i set the Enabled property to false, if another
window is moved on the pictureBox, i have a memory Overflow...
Thanks !