应用程序图标不会更改为 .ico 图像
Application icon won't change to .ico image
我在 Visual Studio 中制作了一个 C# 程序并更改了 Forms 属性中的图标,但它只在应用程序的左上角发生了变化。
我怎样才能让它改变实际的图标,就像应用程序在桌面上一样。我必须发布它吗?直接从调试文件夹中获取它会不起作用吗?
来自 MSDN 上的 How to: Specify an Application Icon :
- In Solution Explorer, choose a project node (not the Solution node).
On the menu bar, choose Project, Properties.
- When the Project Designer appears, choose the Application tab.
- Near the Icon list, choose the button, and then browse to the location of the icon file that you want.
这将更改图标,因为它出现在 Windows 资源管理器或您的桌面中。
我在 Visual Studio 中制作了一个 C# 程序并更改了 Forms 属性中的图标,但它只在应用程序的左上角发生了变化。
我怎样才能让它改变实际的图标,就像应用程序在桌面上一样。我必须发布它吗?直接从调试文件夹中获取它会不起作用吗?
来自 MSDN 上的 How to: Specify an Application Icon :
- In Solution Explorer, choose a project node (not the Solution node). On the menu bar, choose Project, Properties.
- When the Project Designer appears, choose the Application tab.
- Near the Icon list, choose the button, and then browse to the location of the icon file that you want.
这将更改图标,因为它出现在 Windows 资源管理器或您的桌面中。