diff --git a/Business/App.cs b/Business/App.cs index d84de12..11fa4de 100644 --- a/Business/App.cs +++ b/Business/App.cs @@ -38,9 +38,15 @@ namespace SystemTrayMenu menus.MainPreload(); taskbarForm.Activated += TasbkarItemActivated; taskbarForm.Resize += TaskbarForm_Resize; + taskbarForm.FormClosed += TaskbarForm_FormClosed; taskbarForm.Show(); } + private void TaskbarForm_FormClosed(object sender, FormClosedEventArgs e) + { + Application.Exit(); + } + private void TaskbarForm_Resize(object sender, EventArgs e) { if (taskbarForm.WindowState == FormWindowState.Minimized) diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index a4aad0f..4dc32d0 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -35,5 +35,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.11.1.12")] -[assembly: AssemblyFileVersion("0.11.1.12")] +[assembly: AssemblyVersion("0.11.2.0")] +[assembly: AssemblyFileVersion("0.11.2.0")] diff --git a/UserInterface/TaskbarForm.cs b/UserInterface/TaskbarForm.cs index ded3676..39c7c06 100644 --- a/UserInterface/TaskbarForm.cs +++ b/UserInterface/TaskbarForm.cs @@ -23,7 +23,7 @@ namespace SystemTrayMenu.UserInterface //we could show behind taskbar? //screen.Bounds.Bottom- Size.Height); //but at the moment we dont want to see this - screen.Bounds.Bottom); // - Size.Height); + screen.Bounds.Bottom + 80); // - Size.Height); } } }