What is common? -
10-12-2004
, 09:36 AM
When working with the ResourceManager I was wondering if it is common to
store the ResourceManager as a member variable in the user control when
strings are swapped during the lifetime of the control? Al examples I have
seen so far are setup like this. I don't know how much memory it takes for
doing that but another option, which I like more, is having it available
everywhere as a singleton in the assembly.
Second question on what is common,
When the user changes the current culture from within the application should
the application be restarted before things will take effect (ofcoarse suchs
settings is stored for example in the Registry and applied at startup) or
should al user interface controls be updating directly after the culture
changed?
What does Bill recommend on this? |