I am working on a Windows application, and when I run this application, there are multiple icons appearing on the tray bar:
and when I mouse-over these icons, they disappear.
Does anybody have any idea why this is happening?
protected override void OnClosed(EventArgs e)
{
try
{
notifyIcon1.Visible = false;
notifyIcon1.Icon.Dispose();
notifyIcon1.Dispose();
}
catch(Exception ex)
{
}
base.OnClosed(e);
Environment.Exit(0);
}