I am trying to show a message on loading of the application. I am trying to implement this using the Windows notifyIcon tool. Below is the method I implemented and calling this in the form load. However no message is being shown when opening my application.
private void Displaynotify()
{
try
{
//notifyIcon1.Icon = new System.Drawing.Icon(Path.GetFullPath(@"image\graph.ico"));
notifyIcon1.Text = "Finance - Treasury Ticket Notification";
notifyIcon1.Visible = true;
notifyIcon1.BalloonTipTitle = "Welcome, you have 3 Pending Tickets.";
notifyIcon1.BalloonTipText = "Click Here to see details";
notifyIcon1.ShowBalloonTip(100);
}
catch (Exception ex)
{
}
}
private void Form1_Load(object sender, EventArgs e)
{
Displaynotify();
}