62,168
社区成员
发帖
与我相关
我的任务
分享
public static String GetString(string ResourceID)
{
if (String.IsNullOrEmpty(ResourceID))
return "";
if (object.ReferenceEquals(rm, null))
{
rm = new System.Resources.ResourceManager("HanYi.Components.ResourceManager.Strings", typeof(Strings).Assembly );
}
string str = rm.GetString(ResourceID, GlobalVariables.CurrentCulture);
if (String.IsNullOrEmpty(str))
str = String.Empty;
return str.Replace("\\r", "\r").Replace("\\n", "\n");
}