Quadrition Quadrition - 1 year ago 81
C# Question

Notify Icon doesn't show on different os

I created program in Windows 10 OS but notify icon doesn't show up in my second computer that runs Windows 7. Here is code for notify icon:

notifyIcon1.Icon = SystemIcons.Exclamation;
notifyIcon1.BalloonTipTitle = "Licenca";
notifyIcon1.BalloonTipIcon = ToolTipIcon.Warning;
notifyIcon1.BalloonTipText = "Some text.";

Answer Source

notifyIcon1.Dispose() destroys the icon, so it disappears immediately. You should remove this line. Also, make sure that notifyIcon1.Visible is set to true, or the icon will never show up.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download