My application does a lot of work with currencies and so frequently makes use of 80-90 .ICO files I have as resources which are country flags, to represent each currency. Most screens use these and it seems a waste to keep reloading them for each use, especially given that when I use a datatemplate that has an IMG tag, it freezes the GUI or makes it very unperformant when loading these in ListViews etc.
Is there some way or design that's recommended in WPF whereby I can preload these images into the WPF application space so that whenever they are referenced, they are already cached and loaded globally so I only have to load them into memory once at application start, then every usage from then on in is lightning fast?
Thanks