views:

22

answers:

0

I am using Visual Studio 2008 and I am storing some string values in a resource file. I want to use the string values for things like a button's Text property. All of the examples I can find related to localization or storing strings in a resource file show you how to use a ResourceManager object and assign properties in code. However, I suspect that it is somehow possible to indicate these values in designer mode. For example, maybe I can go into the properties window for my button, and in the Text property row, type something like Strings.DeleteButtonText, where Strings is the name of my resource file and DeleteButtonText is a key I have defined inside it. But I have been searching for some time and I can't figure out what this syntax might be or whether this approach actually exists.

Edit: This is in WinForms.