hi,
i use notifyicon in window form and show my icon in taskbar in rightside in corner
but i run my application many time and every time show my icon with ballon and exit application but the icon show in taskbar and many icon show when i hover the mouse then icon is clear
now i want to clear every time by my application to clear icon in notify using when i exit the application
thanks help
Loading

Dharmesh SharmaPosted Nov 3, 2009, 6:14 AM
i m sour my application not crease at time of exit
because i m use many type of process that will be alow to me successfuly exit to the my application
so project is going to good but some code i need is not good
by the be thanks for u.
dharmesh sharma
Software Engg
D Software Pvt
Nilanka DharmadasaPosted Nov 3, 2009, 3:54 AM
Nilanka DharmadasaPosted Nov 3, 2009, 3:29 AM
Then try this too. I cannot test this as I cannot recreate this issue.
Replace this with your existing Dipose method in your form designer.
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
if (disposing)
notifyIcon1.Dispose();
base.Dispose(disposing);
}
Dharmesh SharmaPosted Nov 3, 2009, 2:23 AM
Niki ji
I have already use this code but no effect on that i show u pic
to under stand also
u can see this problem here three same icon
Nilanka DharmadasaPosted Nov 3, 2009, 1:59 AM
Please try this.
Dispose notifyicon in formclosing event.
If my answer helps, please accept my answer.
Dharmesh SharmaPosted Nov 3, 2009, 1:26 AM
my cose is
this is code on form load event when application is start
but some time icon not dispose
i not remmembe some like system tray is clear code in c# i have all ready worked with them
but at this time not i m not get
then
u get some thing idea then tell me
Nilanka DharmadasaPosted Nov 3, 2009, 12:42 AM
I tried to recreate your issue. But in my application, it automatically disappears when the application exits.
If you can, please paste your code.