On my form I have a notifyIcon. I have handlers for both Click
& BalloonTipClicked
bound to the notifyIcon.
Now, if the balloon is showed and I click on the notifyIcon the BalloonTipClicked
gets fired and after that the Click
fires. I'm not sure if this is intended behaviour but I only want to have the Click
fired, how can I achieve that?
private void notifyIcon1_BalloonTipClicked(object sender, EventArgs e)
{
Console.WriteLine("notifyIcon balloontip click"); // This fires first
}
private void notifyIcon1_Click(object sender, EventArgs e)
{
Console.WriteLine("notifyIcon click"); // This fires after balloontipclick
}