Skip to content
Snippets Groups Projects
Commit c8f6fd91 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Disable balloon tips for service running / stopped.

Refers to #2
parent abe67b3f
Branches
Tags
No related merge requests found
...@@ -370,15 +370,19 @@ namespace ATxTray ...@@ -370,15 +370,19 @@ namespace ATxTray
_miSvcRunning.BackColor = Color.LightGreen; _miSvcRunning.BackColor = Color.LightGreen;
_miTitle.BackColor = Color.LightGreen; _miTitle.BackColor = Color.LightGreen;
_miSvcSuspended.Enabled = true; _miSvcSuspended.Enabled = true;
/*
_notifyIcon.ShowBalloonTip(500, AppTitle, _notifyIcon.ShowBalloonTip(500, AppTitle,
"Service running.", ToolTipIcon.Info); "Service running.", ToolTipIcon.Info);
*/
} else { } else {
_miSvcRunning.Text = @"Service NOT RUNNING!"; _miSvcRunning.Text = @"Service NOT RUNNING!";
_miSvcRunning.BackColor = Color.LightCoral; _miSvcRunning.BackColor = Color.LightCoral;
_miTitle.BackColor = Color.LightCoral; _miTitle.BackColor = Color.LightCoral;
_miSvcSuspended.Enabled = false; _miSvcSuspended.Enabled = false;
/*
_notifyIcon.ShowBalloonTip(500, AppTitle, _notifyIcon.ShowBalloonTip(500, AppTitle,
"Service stopped.", ToolTipIcon.Error); "Service stopped.", ToolTipIcon.Error);
*/
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment