aboutsummaryrefslogtreecommitdiffstats
path: root/WarframeClock/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'WarframeClock/Program.cs')
-rw-r--r--WarframeClock/Program.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/WarframeClock/Program.cs b/WarframeClock/Program.cs
index edf7dea..1e9c658 100644
--- a/WarframeClock/Program.cs
+++ b/WarframeClock/Program.cs
@@ -9,6 +9,7 @@ namespace WarframeClock
class Program
{
private static bool UseWorldStatePhp = false;
+ private static string VersionString = "Warframe Clock Overlay 2019-01-15";
public class WorldStateDataStruct
{
@@ -16,7 +17,7 @@ namespace WarframeClock
public string CetusExpiryString()
{
- var currentTime = GetCurrentTime();
+ double currentTime = GetCurrentTime();
double cetusLen = 8998.8748;
double cetusDayLen = 8248.9686 - 2249.7187;
double cetusBegin = 1509371722 + 2249.7187;
@@ -83,11 +84,12 @@ namespace WarframeClock
Icon = Properties.Resources.TrayIcon
};
- iconMenu.MenuItems.Add("Quit", (_, __) =>
+ iconMenu.MenuItems.Add(new MenuItem(VersionString) { Enabled = false });
+ iconMenu.MenuItems.Add(new MenuItem("Quit", (_, __) =>
{
icon.Dispose();
Environment.Exit(0);
- });
+ }));
icon.Visible = true;
Application.Run();