开发者

Difference between project resource and local resource images

What is the difference between browse an image on a windows form control from a proje开发者_Go百科ct recource file or a local resource file? In my project I have used images from a local resource. Would it be better to have all my images in the project resource file and why?

Thank you


In case of local resource the image can be used only with that particular form and if you need it in some other form you have to duplicate it

whereas in project resource the image could be used across multiple forms and the there is no duplication of the file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜