关于资源文件的读取

来源:互联网 发布:上海白银行情软件 编辑:程序博客网 时间:2024/06/02 11:27

1.  GetManifestResourceStream

 

Typeof(ClassName).Assembly.GetManifestResrouceStream(Namespance.foldname.filename)

 

Namespace is the default namespace of the project which can be found in the properties of the project

 

Selected the project -> Right Click - > Applications tab - > Default namespace.

 

 

 

原创粉丝点击