mirror of
https://github.com/ckaczor/ProcessCpuUsageStatusWindow.git
synced 2026-01-18 01:25:40 -05:00
Refactor update check
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user