I will try the resource file, but how to use those images in the resource file in the ListView, since this controls requires an ImageList controls to refer to?
All I want to do is not having to add imagelist controls all over the app and use a single ImageList or Resource file for all my images for this project. I hope this could be done since I hate to keep doing the same thing over and over and over
Not easily. Really it is best to setup this up by project.
We never use the designer for the ImageList control anyway as after a few compiles, the quality of the image degrades. So when we use an ImageLIst control, we add a method that we call in the constructor or OnLoad that populates the image list from resource images...this way the images will always remain crisp and clean.
Well that would be what I am looking for because in that case all my images will be in the common Resource File and then the image list would be programatically be filled with the images needed from the resource file. Could you share some code on how to import the images from the resource file?
Also that could be a new SF ImageList control in future updates...
If it were that simple we would have already done it. This will require that we replumb the ListView, etc. At present this is still standard .NET logic. Trust me, this has already crossed our minds hundreds, it not thousands of times!