Just wondering if there is a way to display a message from the notifyicon when a certain event in the program is reached. Almost like a balloon popup. I cant seem to find anything online... This would be used to alert the user to a certain event in the program.
Thanks in advance!
If you use notify icon:
this.WindowState = FormWindowState.Minimized;
notifyIcon1.Icon = new Icon(SystemIcons.Application, 40, 40);
notifyIcon1.Visible = true;
Much like you can use the BallonTip member of the it:
notifyIcon1.BalloonTipText = "The quick brown fox. Jump!";
notifyIcon1.BalloonTipIcon = ToolTipIcon.Info;
notifyIcon1.BalloonTipTitle ="Alert!";
notifyIcon1.ShowBalloonTip(500);
You can use everytime certain event or condition is meet, you can always have the ShowBalloonTip method call.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With