Change default icon

前端 未结 9 1549
南方客
南方客 2020-12-15 16:43

I\'m trying to change the application icon from default to something else. So what I did, is I made an icon and saved it. Then I went to the application tab in the property

9条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-15 17:09

    The Icon property for a project specifies the icon file (.ico) that will be displayed for the compiled application in Windows Explorer and in the Windows taskbar.

    The Icon property can be accessed in the Application pane of the Project Designer; it contains a list of icons that have been added to a project either as resources or as content files.

    To specify an application icon

    1. With a project selected in Solution Explorer, on the Project menu click Properties.
    2. Select the Application pane.
    3. Select an icon (.ico) file from the Icon drop-down list.

    To specify an application icon and add it to your project

    1. With a project selected in Solution Explorer, on the Project menu, click Properties.
    2. Select the Application pane.
    3. Select Browse from the Icon drop-down list and browse to the location of the icon file that you want.

    The icon file is added to your project as a content file and can be seen on top left corner.

    And if you want to show separate icons for every form you have to go to each form's properties, select icon attribute and browse for an icon you want.

    Here's MSDN link for the same purpose...

    Hope this helps.

提交回复
热议问题