与文件扩展名关联的c#:图标 [英] c#: icon associated with file extension
本文介绍了与文件扩展名关联的c#:图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将图标分配给这种类型的文件?
是否存在合适的.Net方法?
解决方案
您需要修改注册表项。
如何处理c#的代码片段可以在这里找到:
http://mel-green.com/2009/04/c-set-file-type-association/
In my application I create files with extension .mprj.
How can I assign an icon to this type of file?
Does appropriate .Net methods exist?
解决方案
you need to modify registry entries. A code snippet how to do with c# can be found here: http://mel-green.com/2009/04/c-set-file-type-association/
这篇关于与文件扩展名关联的c#:图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文