ali yahyaee

ali yahyaee

  • NA
  • 4
  • 4.3k

load image

May 1 2013 11:03 AM
hi
I load image by this line
            Image pageimage = Image.FromFile("Mohr.jpg");

                imagebrick = gr.DrawImage(pageimage, new RectangleF(1, 1, 100,200), BorderSide.None, Color.Transparent);


I load image in bin and debug folder and also add it in application folder in setup project.
but somethimes in some  computer's see this error!



why this code don't work always in some computer's?
what's the best code?


Answers (1)