#115, version 0.11.2.0

[Feature] Show icon in taskbar when application is running #115
This commit is contained in:
Markus Hofknecht 2020-06-28 15:57:40 +02:00
parent aa1918ce02
commit 8bdbb83e06
3 changed files with 9 additions and 3 deletions

View file

@ -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)

View file

@ -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")]

View file

@ -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);
}
}
}