获取起始位置
Path.Combine(AppDomain.CurrentDomain.BaseDirectory);
添加全局资源
string temp = "this is a string resource";
// 添加或更新资源字典
Application.Current.Resources["temp"] = temp;
Path.Combine(AppDomain.CurrentDomain.BaseDirectory);
string temp = "this is a string resource";
// 添加或更新资源字典
Application.Current.Resources["temp"] = temp;