Managing Application ImageLists
-
Hi Guys, I have a question about ImageList strategies. Originally i created an image list for each control, but this didn't expand well, especially when i wanted the same icon in multiple locations. I made a few image lists that covered particular sets of icons as well, this seems to work well, but again suffers from cross cutting issues. My thoughts for a solution would be to put two image lists in an IOC container and have the application setup the display components based on this. Is this viable? How do other people manage application wide image lists in their apps? Also, what mechanisms do people put in place for managing Image Keys when the images are dynamic? Cheers Tris
------------------------------- Carrier Bags - 21st Century Tumbleweed.
modified on Monday, March 3, 2008 8:18 AM
-
Hi Guys, I have a question about ImageList strategies. Originally i created an image list for each control, but this didn't expand well, especially when i wanted the same icon in multiple locations. I made a few image lists that covered particular sets of icons as well, this seems to work well, but again suffers from cross cutting issues. My thoughts for a solution would be to put two image lists in an IOC container and have the application setup the display components based on this. Is this viable? How do other people manage application wide image lists in their apps? Also, what mechanisms do people put in place for managing Image Keys when the images are dynamic? Cheers Tris
------------------------------- Carrier Bags - 21st Century Tumbleweed.
modified on Monday, March 3, 2008 8:18 AM
Tristan Rhodes wrote:
How do other people manage application wide image lists in their apps?
Static image lists. I tend not to work with dynamic image lists, so this strategy works well enough for me.
Deja View - the feeling that you've seen this post before.
-
Tristan Rhodes wrote:
How do other people manage application wide image lists in their apps?
Static image lists. I tend not to work with dynamic image lists, so this strategy works well enough for me.
Deja View - the feeling that you've seen this post before.
Hi Pete, Is that static as in statically declared, or static as in unmodified? I get the impression you mean both. The Icons are not fixed and may change. Quite a few of them are pulled out of a CE Database but i don't think there will be any threading issues as the app is (currently) single threaded.
------------------------------- Carrier Bags - 21st Century Tumbleweed.
-
Hi Pete, Is that static as in statically declared, or static as in unmodified? I get the impression you mean both. The Icons are not fixed and may change. Quite a few of them are pulled out of a CE Database but i don't think there will be any threading issues as the app is (currently) single threaded.
------------------------------- Carrier Bags - 21st Century Tumbleweed.
I mean both, but the principle should be the same for you.
Deja View - the feeling that you've seen this post before.