【发布时间】:2013-01-16 14:45:53
【问题描述】:
我的 c# 代码中有 resources.resx 并填充了一些字符串:
Text1,"Some Text"
我可以在运行时调用它
Properties.Resources.Text1
导致
"Some Text"
现在我想让 Text1 有不同的输出(例如另一种语言或其他东西)
这样Properties.Resources.Text1 就会产生"Different Text"。
我怎样才能做到这一点?
EDIT1:我发现了this,但我正在寻找一种不同的资源文件方法。
【问题讨论】:
标签: c# .net visual-studio properties