How do I reference a constant string in my .designer.cs file?
A straight forward answer is to create a private string variable in my .cs file, then edit the designer.cs file to use this variable instead of hardcoding the string. But the designer doesn't like this throws an error. I understand why this can't work, but I'm not sure of what the best alternative is.
Should each of my UI controls just have text as a place holder, then I need to override all text properties only at runtime? This way I loose the benefit of seeing everything in the designer.
I'm just trying to figure how to cause the least disruption when things change in the future. Thanks.