We have a resource file with lots of translated strings used various places in our application. Is there a better way for binding for example the text of a button to a certa
You can do:
using System.Resources; using System.Reflection; Assembly assembly = this.GetType().Assembly; resman = new ResourceManager("StringResources.Strings", assembly); btnButton.Text = resman.GetString("ButtonName");