V
V
Vanes Ri_Lax2015-10-22 09:52:30
C++ / C#
Vanes Ri_Lax, 2015-10-22 09:52:30

How to change the form icon?

Hello,
I'm trying to learn how to write programs in visual studio 2013 in c # , I
managed to change the icon of the exe file, and even when the program is minimized to tray, my icon appears, I did it like this:
project -> project properties -> "Application" tab
Next, I simply specified the path to the icon , he uploaded it to me in resources
a0f83c6b134d49318ecf5f681626ff21.JPG
But when creating the form, for some reason I have the icon of the form itself, and the icon on the taskbar remained standard ...
b890abf636a84ba7b35f994759c9cbd7.JPG
How can I change the icon of the form itself?
Is it possible to make a custom icon for each form?
Thank you very much in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Danilov, 2015-10-22
@vanesxl

How can I change the icon of the form itself?

In the properties of the control itself.
You select the form in the constructor, look for the Properties window and there is an icon property somewhere.

M
MonkAlex, 2015-10-22
@MonkAlex

You're running the program from studio, so it's without an icon. Try it without the studio - there will be an icon. Accordingly, any user will also see a form with an icon.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question