From 468e2dcf27f795cb46f53fc2975a48fd4bf43f44 Mon Sep 17 00:00:00 2001 From: Paddy Xu Date: Sun, 9 Mar 2014 14:17:18 +0100 Subject: [PATCH] . --- LEUpdater/Program.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LEUpdater/Program.cs b/LEUpdater/Program.cs index 382eb43..30a6390 100644 --- a/LEUpdater/Program.cs +++ b/LEUpdater/Program.cs @@ -10,7 +10,7 @@ namespace LEUpdater { internal static class Program { - private static readonly NotifyIcon _notifyIcon = new NotifyIcon {Icon = Resources.icon, Visible = true}; + private static readonly NotifyIcon _notifyIcon = new NotifyIcon {Icon = Resources.icon}; private static void Main(string[] args) { @@ -52,6 +52,8 @@ private static void Main(string[] args) private static void CheckUpdates(string appVer, int regVer) { + _notifyIcon.Visible = true; + _notifyIcon.DoubleClick += _notifyIcon_DoubleClick; _notifyIcon.ShowBalloonTip(0,