Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between project resource and local resource images

Tags:

c#

winforms

What is the difference between browse an image on a windows form control from a project 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

like image 699
alexxx Avatar asked Sep 12 '11 11:09

alexxx


1 Answers

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.

like image 120
V4Vendetta Avatar answered Nov 01 '22 01:11

V4Vendetta