Closed neoxeo closed 8 months ago
@generalloki
Version : 898ff27b464fd02ebd79bb3a3f73da4953de369e
Code :
private void button2_Click(object? sender, EventArgs e) { pictureBox1.Image = Image.FromStream(streamFromFile("AlternetSoft.png")); pictureBox2.Image = Bitmap.FromStream(streamFromFile("AlternetSoft.png")); } public FileStream streamFromFile(string filename) { FileStream stream = File.OpenRead(filename); return stream; }
I try with Image or Bitmap but same result.
No error but no image is present in pictureBox.
EDIT : if I reduce my Windows in taskbar and show it again, picturebox image is present
Thanks. I will test it in 1 or 2 hours.
Tests are OK : thanks !!!
@generalloki
Version : 898ff27b464fd02ebd79bb3a3f73da4953de369e
Code :
I try with Image or Bitmap but same result.
No error but no image is present in pictureBox.
EDIT : if I reduce my Windows in taskbar and show it again, picturebox image is present