110,532
社区成员
发帖
与我相关
我的任务
分享
public static string GetResource(string id, Type typeObj, CultureInfo ci)
{
ResourceManager rms = new ResourceManager(typeObj);
return rms.GetString(id, ci);
}
Resources.GetResource("buttonCofrim", DefineRes.Instance.GetType(), MyGlobal.appCultureInfo); //读取资源文件