Quadrition Quadrition - 14 days ago 4x
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.";


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.