C#获取起始位置以及添加全局资源字典
获取起始位置
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;