📌  相关文章
📜  如何在 c# 代码示例中使用外部 resource.resx 文件

📅  最后修改于: 2022-03-11 14:48:55.040000             🧑  作者: Mango

代码示例1
ResourceManager rm = new ResourceManager("UsingRESX.Resource1",  
Assembly.GetExecutingAssembly());  
String strWebsite = rm.GetString("Website",CultureInfo.CurrentCulture);  
String strName = rm.GetString("Name");  
form1.InnerText = "Website: " + strWebsite + "--Name: " + strName;