application now hides at boot
This commit is contained in:
parent
212dd5958e
commit
bcf11b4d79
1 changed files with 5 additions and 6 deletions
|
@ -121,12 +121,11 @@ namespace EnvyUpdate
|
|||
else
|
||||
{
|
||||
textblockOnline.Foreground = Brushes.Green;
|
||||
//if (System.Reflection.Assembly.GetExecutingAssembly().CodeBase == appdata)
|
||||
//{
|
||||
//WindowState = WindowState.Minimized;
|
||||
//System.Threading.Thread.Sleep(100);
|
||||
//Hide();
|
||||
//}
|
||||
if (exepath == appdata)
|
||||
{
|
||||
WindowState = WindowState.Minimized;
|
||||
Hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
private void Load(string[] files)
|
||||
|
|
Reference in a new issue