mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-20 19:30:31 +12:00
#115, version 0.11.2.0
[Feature] Show icon in taskbar when application is running #115
This commit is contained in:
parent
8bdbb83e06
commit
13af167dfd
|
@ -57,9 +57,10 @@ namespace SystemTrayMenu
|
|||
|
||||
internal void TasbkarItemActivated(object sender, EventArgs e)
|
||||
{
|
||||
taskbarForm.Activate();
|
||||
taskbarForm.Focus();
|
||||
menus.SwitchOpenCloseByTaskbarItem();
|
||||
if (!(Form.ActiveForm is TaskbarForm))
|
||||
{
|
||||
menus.SwitchOpenCloseByTaskbarItem();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
|
Loading…
Reference in a new issue