Click here to Skip to main content
15,847,902 members
Please Sign up or sign in to vote.
2.67/5 (3 votes)
See more:
Hi to all..
Actually my scenario like this:
When ever a form opens, at that time, the folder icon symbol will change and when ever it is closed, the folder icon symbol will change to previous symbol..
How to do this..
I did when form opened at that time folder icon symbol changed to new folder icon symbol... But I didn't get it how to change to previous folder icon symbol..
If any body knows please let me know...
Thanks in advance...
Updated 26-Aug-11 1:54am
Christian Graus 10-Aug-11 1:41am    
If you're changing something, why is it hard to change it back ? Which bit is a problem to you ?
komalilella 10-Aug-11 1:42am    
my problem is change it back.if u know pls let me know..
dan!sh 10-Aug-11 2:45am    
Where is that folder icon? Is it for some specific fodler or you are using that icon somewhere in your application?
komalilella 10-Aug-11 2:56am    
i took one folder icon in the same folder of the project.when i will give the any path of folder to the project that time folder icon changed to new icon.
nw i want to changed to previous one..this one didn't get it..
if u knw pls let me know..
Sergey Alexandrovich Kryukov 13-Aug-11 19:12pm    
Are you talking about some form icon or application icon?

1 solution

is this what you're after?

Form aForm = new Form();
aForm.Icon = this.Icon;
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900