I have a series of controls, but mostly textboxes and labels that need to be properly globalized. Is there an easy to way to bind them to the appropriate resource file like there is in ASP.Net?
views:
132answers:
2
+1
A:
VS.NET will handle this automatically for you.
Select the form/usercontrol that is the host and set the Localizable property to true. Then, set the Language property to the language you wish to set the properties on the form for (in this case, you want Text, but you can change other details for different locales as well).
Set all the properties for the locale in the appropriate language.
Go and switch the language, and repeat.
You can't add more controls when the Language is not Default, so just set it back to Default, add your controls, and then switch to another language if you need to.
casperOne
2009-01-27 18:38:03