Refactor update check

This commit is contained in:
2018-02-23 12:05:13 -05:00
parent 8f550463b7
commit d9d0f33788
8 changed files with 191 additions and 48 deletions

View File

@@ -1,5 +1,5 @@
using Common.Update;
using System.Reflection;
using System.Reflection;
using System.Windows;
namespace ProcessCpuUsageStatusWindow.Options
{
@@ -32,5 +32,10 @@ namespace ProcessCpuUsageStatusWindow.Options
}
public override string CategoryName => Properties.Resources.OptionCategory_About;
private async void HandleCheckForUpdateButtonClick(object sender, RoutedEventArgs e)
{
await UpdateCheck.CheckUpdate((status, message) => UpdateMessage.Content = message);
}
}
}