且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

更改文件图标在C#

更新时间:2023-02-08 19:27:45

必须为此编写自定义外壳扩展。这被称为图标覆盖处理程序。这与TortoiseSVN等应用程序在浏览器中添加图标的方式相同。

You will have to write custom shell extension for this. Which are known as "Icon Overlay Handlers". This is the same way by which applications like TortoiseSVN add icons in explorer.

查看此 MSDN文章此代码示例