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

Hide the "suspended" menu entry if service not running

Fixes #55
parent 540f1367
No related branches found
No related tags found
No related merge requests found
......@@ -455,7 +455,7 @@ namespace ATxTray
_miSvcRunning.Text = @"Service running.";
_miSvcRunning.BackColor = Color.LightGreen;
_miTitle.BackColor = Color.LightGreen;
_miSvcSuspended.Enabled = true;
_miSvcSuspended.Visible = true;
/*
_notifyIcon.ShowBalloonTip(500, AppTitle,
"Service running.", ToolTipIcon.Info);
......@@ -464,7 +464,7 @@ namespace ATxTray
_miSvcRunning.Text = @"Service NOT RUNNING!";
_miSvcRunning.BackColor = Color.LightCoral;
_miTitle.BackColor = Color.LightCoral;
_miSvcSuspended.Enabled = false;
_miSvcSuspended.Visible = false;
/*
_notifyIcon.ShowBalloonTip(500, AppTitle,
"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