From ffd6e0b2ca00bdd98728eb9836e41e8749e9c29a Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Thu, 11 Jan 2018 10:03:42 +0100 Subject: [PATCH] Don't show balloon tips for being suspended. Refers to #2 --- ATXTray/AutoTxTray.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ATXTray/AutoTxTray.cs b/ATXTray/AutoTxTray.cs index fc0aa08..5b3399b 100644 --- a/ATXTray/AutoTxTray.cs +++ b/ATXTray/AutoTxTray.cs @@ -166,13 +166,17 @@ namespace ATXTray if (_svcSuspended) { _miSvcSuspended.Text = @"Service suspended, reason: " + _status.LimitReason; _miSvcSuspended.BackColor = Color.LightYellow; + /* _notifyIcon.ShowBalloonTip(500, "AutoTx Monitor", "Service suspended: " + _status.LimitReason, ToolTipIcon.Warning); + */ } else { _miSvcSuspended.Text = @"No limits apply, service active."; _miSvcSuspended.BackColor = Color.LightGreen; + /* _notifyIcon.ShowBalloonTip(500, "AutoTx Monitor", "Service resumed, no limits apply.", ToolTipIcon.Info); + */ } } } -- GitLab