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

Use a balloon tip to indicate service startup / shutdown.

Refers to #2
parent 902d3e27
No related branches found
No related tags found
No related merge requests found
......@@ -138,11 +138,15 @@ namespace ATXTray
_miSvcRunning.BackColor = Color.LightGreen;
_miTitle.BackColor = Color.LightGreen;
_miSvcSuspended.Enabled = true;
_notifyIcon.ShowBalloonTip(500, "AutoTx Monitor",
"Service started.", ToolTipIcon.Info);
} else {
_miSvcRunning.Text = @"Service NOT RUNNING!";
_miSvcRunning.BackColor = Color.LightCoral;
_miTitle.BackColor = Color.LightCoral;
_miSvcSuspended.Enabled = false;
_notifyIcon.ShowBalloonTip(500, "AutoTx Monitor",
"Service stopped.", ToolTipIcon.Error);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment