invoke hotkey to show icon

This commit is contained in:
Kang Yu 2024-04-01 11:11:30 -07:00
parent 309cd5444c
commit dd429c1df7
2 changed files with 4 additions and 2 deletions

View file

@ -388,7 +388,7 @@ namespace PersistentWindows.SystrayShell
return false;
}
static void ShowRestoreTip()
public static void ShowRestoreTip()
{
if (systrayForm.contextMenuStripSysTray.InvokeRequired)
systrayForm.contextMenuStripSysTray.BeginInvoke((Action)delegate ()
@ -414,7 +414,7 @@ namespace PersistentWindows.SystrayShell
}
}
static void HideRestoreTip()
public static void HideRestoreTip()
{
if (systrayForm.contextMenuStripSysTray.InvokeRequired)
systrayForm.contextMenuStripSysTray.BeginInvoke((Action)delegate ()