Click here to Skip to main content
15,899,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have developed a windows application, in which I want to show a NotifyIcon when I Minimize a Windows form. When I minimize a main Windows form, an another windows form show and Main form is minimized, then when I click on second form, the main windows form is shown & second is hidden & at that time I also want that NotifyIcon also make hidden from tray...

Please help me to solve this....

Thank you.....
Posted
Updated 31-Mar-14 0:45am
v2

1 solution

Just set it's visibillity to false/true:

notifyIcon1.Visible = false;


Or did you want to ask something different?
 
Share this answer
 
Comments
HardikPatel.SE 31-Mar-14 7:32am    
Thanks bro,
Your answer is write...
But This is not a solution for me because I have already tried it but not succeed.... :(
johannesnestler 31-Mar-14 9:11am    
Hi HardikPatel89,

Yes, I guessed that your problem can't be that simple. So can you try to explain what is not working, or why you can't hide the notifyicon (because it belongs to the other Form-instance?) In the past I have used various NotifyIcon scenarious, and I know that some things are "not so obviouse", but chances are high I could help you -If I understand what you want of course ;-) some code?

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