C#:在其它dll中调用此文件中的资源

如设置当前语言上下文:

AppDomain.CurrentDomain.UnhandledException +=CurrentDomainUnhandledException;

 

If(System.Configuration.ConfigurationManager.AppSettings[“Languange”] != null)

{

         Resources.Culture = new CultureInfo(System.Configuration.ConfigurationManager.AppSettings[“Languange”] )

}

Common.Properties.Resources.Culture = Resources.Culture;

 

posted @ 2013-03-26 10:23  慧由心生  阅读(233)  评论(0编辑  收藏  举报