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

Set AppTitle from executable name.

Refers to #2
parent 80d190f5
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ namespace ATXTray
{
public class AutoTxTray : ApplicationContext
{
private const string AppTitle = "AutoTx Service Monitor";
private static readonly string AppTitle = Path.GetFileNameWithoutExtension(Application.ExecutablePath);
private static readonly Timer AppTimer = new Timer(1000);
private static readonly string BaseDir = AppDomain.CurrentDomain.BaseDirectory;
private static readonly string ConfigFile = Path.Combine(BaseDir, "configuration.xml");
......
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