Users can minimize your application at runtime. If you specify an icon in the application painter, the icon will display when the application is minimized.
To associate an icon with an application
-
In the Properties view, click Additional Properties and select the Icon tab.
-
Specify a file containing an icon (an ICO file).
The button displays below the Browse button.
Icon files in PNG format are unsupported. Please specify an icon file in BMP format. To save an icon file in BMP format, you should choose the "Standard ICO" format instead of the "PNG" format when you create and save the ICO file.
To find out the format of an existing ICO file, you can open the file and view its format (for example, in Visual Studio).
You can create the ICO file that contain multiple images at all standard sizes including 16*16, 24*24, 32*32, 64*64, 128*128, and 256*256, so that the icon can be displayed in its best size in different areas such as desktop, taskbar, application etc. If the ICO file does not contain the image at the right size, the image may be displayed blurry or distorted due to compression.
-
Click OK to associate the icon with the application.