Win10 资源文件

ResourceLoader rl = new ResourceLoader();
DisOutText.Text = rl.GetString("Display");

ResourceContext ctx = new ResourceContext();
ctx.Languages = new string[] { "zh-CN" };

ResourceMap rmap = ResourceManager.Current.MainResourceMap.GetSubtree("Resources");
string newGreeting = rmap.GetValue("Display", ctx).ValueAsString;

上一篇:vi编辑器命令


下一篇:富文本编辑器TInyMCE,本地图片上传(Image Upload)