Okay guys, quite new to C# but I'm getting on with it just fine.
I've got an application minimised to the system tray and I'm using WPF NotifyIcon to do this. I'm trying to use the built in bubble tip feature.
Whilst I've got no errors, it just doesn't seem to be working.
My code is as follows:
private void OnTaskBarMenuItemExitClick(object sender, RoutedEventArgs e)
{
m_isExplicitClose = true;//Set this to unclock the Minimize on close
this.Close();
string title = "WPF NotifyIcon";
string text = "This is a standard balloon";
TaskBar.ShowBalloonTip(title, text, Properties.Resources.Server);
}
What should happen is that when I close the application, it hides to the system tray (and does) but should also popup the BalloonTip (and doesn't).
Any ideas; I'm stumped? :(