Quantcast
Channel: CSharp Forum Latest Questions
Viewing all articles
Browse latest Browse all 32060

load image

$
0
0
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?


Viewing all articles
Browse latest Browse all 32060

Trending Articles