diff --git a/ATXTray/AutoTxTray.cs b/ATXTray/AutoTxTray.cs index cedebf9b0b116131b132b63bd2b764ccd840daeb..b0919c3e1683064b029c8c0e98b972c00ef3b507 100644 --- a/ATXTray/AutoTxTray.cs +++ b/ATXTray/AutoTxTray.cs @@ -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");