Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
301 views
in Technique[技术] by (71.8m points)

c# - 如何在C#中获取Windows文件浏览器图标的文件(How do i get the windows file explorer icon for a file in C#)

How do i get the icon for a file in C#?

(如何获取C#中文件的图标?)

i tried using Icon.ExtractAssociatedIcon() but it returns a weird version of the image with a low bitdepth (aka the wrong colors but in the right shape)

(我尝试使用Icon.ExtractAssociatedIcon()但它返回的图像的怪异版本具有较低的位深度(也就是颜色错误但形状正确))

  ask by Chris translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...