Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. Managing Application ImageLists

Managing Application ImageLists

Scheduled Pinned Locked Moved Design and Architecture
questiondockerdiscussionworkspace
4 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tristan Rhodes
    wrote on last edited by
    #1

    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

    P 1 Reply Last reply
    0
    • T Tristan Rhodes

      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

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      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.

      My blog | My articles

      T 1 Reply Last reply
      0
      • P Pete OHanlon

        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.

        My blog | My articles

        T Offline
        T Offline
        Tristan Rhodes
        wrote on last edited by
        #3

        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.

        P 1 Reply Last reply
        0
        • T Tristan Rhodes

          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.

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          I mean both, but the principle should be the same for you.

          Deja View - the feeling that you've seen this post before.

          My blog | My articles

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups