Where is a .net Application Icon Stored?

前端 未结 3 1761
庸人自扰
庸人自扰 2021-01-14 08:43

I\'m trying to figure out where my application\'s icon is stored in VS 2008. On the startup project\'s application properties, I added an icon with the setting \"Embed manif

3条回答
  •  醉话见心
    2021-01-14 09:07

    The problem with Icon.ExtractAssociatedIcon is that it only extracts one image from the application's icon. However, applications designed for Win7 or newer typically provide icons with several images in different sizes/resolutions. For getting an icon object with all images included, I found a complete solution here:

    http://www.codeproject.com/Articles/29923/Assigning-an-application-s-icon-to-all-forms-in-th

提交回复
热议问题