mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 21:15:38 +02:00
code cleanup
This commit is contained in:
parent
dd429c1df7
commit
41603fd49e
1 changed files with 2 additions and 7 deletions
|
@ -358,6 +358,8 @@ namespace PersistentWindows.SystrayShell
|
||||||
StartSplashForm();
|
StartSplashForm();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//systrayForm.notifyIconMain.Visible = false;
|
||||||
|
|
||||||
Application.Run();
|
Application.Run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -403,7 +405,6 @@ namespace PersistentWindows.SystrayShell
|
||||||
if (silent)
|
if (silent)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
//systrayForm.notifyIconMain.Visible = false;
|
|
||||||
if (Gui)
|
if (Gui)
|
||||||
ni.Visible = true;
|
ni.Visible = true;
|
||||||
|
|
||||||
|
@ -426,12 +427,6 @@ namespace PersistentWindows.SystrayShell
|
||||||
NotifyIcon ni = systrayForm.notifyIconMain;
|
NotifyIcon ni = systrayForm.notifyIconMain;
|
||||||
ni.Icon = IdleIcon;
|
ni.Icon = IdleIcon;
|
||||||
|
|
||||||
/*
|
|
||||||
if (silent)
|
|
||||||
return;
|
|
||||||
*/
|
|
||||||
|
|
||||||
//systrayForm.notifyIconMain.Visible = false;
|
|
||||||
if (Gui)
|
if (Gui)
|
||||||
ni.Visible = true;
|
ni.Visible = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue