lpinho
2008-06-24 16:10:24 UTC
Hi there,
I'm building a windows application, and I want to enable localization
(I've got several user controls, forms, etc).
I'm building a resource file containing all the text and images that
can be localized.
Now, I want to set the set the text value of the labels to a string
inside the resource file in design mode.
Using code is simple:
labelX.Text = Properties.Resources.strName;
and the labels text will have the same value as the string defined as
"strName".
What I want to do, is be able to do this in design mode using Visual
Studio 2005, is this possible? Is there any sort of notation that
allows me to just set a Text property to use the resource?
Like {Properties.Resources.strName} or $Properties.Resources.strName
Thanks ahead for all the help,
L. Pinho
I'm building a windows application, and I want to enable localization
(I've got several user controls, forms, etc).
I'm building a resource file containing all the text and images that
can be localized.
Now, I want to set the set the text value of the labels to a string
inside the resource file in design mode.
Using code is simple:
labelX.Text = Properties.Resources.strName;
and the labels text will have the same value as the string defined as
"strName".
What I want to do, is be able to do this in design mode using Visual
Studio 2005, is this possible? Is there any sort of notation that
allows me to just set a Text property to use the resource?
Like {Properties.Resources.strName} or $Properties.Resources.strName
Thanks ahead for all the help,
L. Pinho