G
Guest
Need some advice on how I can selectively access values from a resource. If
I have a dialog and I turn "Localization" to true, nearly every value set in
InitializeComponents() is gathered as a value from a resource and casted to
the correct type.
For the most part, I need only the "text" property, sometimes the size
property and occasionally the location property. It is a waste of time and
space to run the rest of the values through the lookup. The overhead is
pretty immense. Best I can tell the compile size of InitiaizeComponents() +
default resouce is approximately 5 times larger with than without
localization.
I took a 1.8 meg UI intensive DLL, turned all these flags on which resulted
in a DLL that was 5.4 megs.
Any advice appreciated. Thanks.
I have a dialog and I turn "Localization" to true, nearly every value set in
InitializeComponents() is gathered as a value from a resource and casted to
the correct type.
For the most part, I need only the "text" property, sometimes the size
property and occasionally the location property. It is a waste of time and
space to run the rest of the values through the lookup. The overhead is
pretty immense. Best I can tell the compile size of InitiaizeComponents() +
default resouce is approximately 5 times larger with than without
localization.
I took a 1.8 meg UI intensive DLL, turned all these flags on which resulted
in a DLL that was 5.4 megs.
Any advice appreciated. Thanks.