Change from service to application so GPU temperature works

This commit is contained in:
2014-05-14 13:16:09 -04:00
parent f84db654c7
commit 41ebd259e8
17 changed files with 152 additions and 760 deletions

View File

@@ -1,6 +1,7 @@
using OpenHardwareMonitor.Hardware;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
namespace SystemTemperatureService
{
@@ -56,5 +57,10 @@ namespace SystemTemperatureService
return deviceList;
}
public void Shutdown()
{
Program.MainDispatcher.Invoke(Application.Current.Shutdown);
}
}
}