2011-05-03 53 views

回答

1

尝试此操作,其中rmc是完全限定的资源名称,如果使用默认方式(项目的属性,然后是新资源)来创建资源文件,它将是[YourProjectName] .Properties.Resources。

ResourceManager rm = new ResourceManager("rmc",Assembly.GetCallingAssembly()); 

您还可以使用资源的路径才能到资源管理器,看看here

相关问题