Introduction
In this article we will learn how to add an icon to your application. In this article the Application Designer takes a (.png) file that I have created using Paint.
The Application icon is stored as a resource in the application.
Note: Icon images must be .png files that are of 32 by 32 pixels.
Adding a Program Icon
Step 1
In order to create the image I have used Microsoft Paint.
Image 1
![]()
Step 2
After creating the image in paint I click on the resize button to resize the image. When I click on the resize button a dialog box appears.
Image 2
![]()
Step 3
After inserting the value in the Resize Dialog Box, click "OK".
Image 3
![]()
Step 4
Save the Image in the folder where we want to save it.
Step 5
Open the Solution Explorer in Visual Studio 2012.
Image 4
![]()

Join the conversation! Your thoughts help the community grow.