From d9d0f33788a5011e7c08cd7353255486e45a53a8 Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Fri, 23 Feb 2018 12:05:13 -0500 Subject: [PATCH] Refactor update check --- Options/AboutOptionsPanel.xaml | 32 +++++++++++--- Options/AboutOptionsPanel.xaml.cs | 9 +++- Options/GeneralOptionsPanel.xaml | 10 +++-- ProcessCpuUsageStatusWindow.csproj | 1 + Properties/Resources.Designer.cs | 54 +++++++++++++++++++++++ Properties/Resources.resx | 18 ++++++++ UpdateCheck.cs | 71 ++++++++++++++++++++++++++++++ WindowSource.cs | 44 +++--------------- 8 files changed, 191 insertions(+), 48 deletions(-) create mode 100644 UpdateCheck.cs diff --git a/Options/AboutOptionsPanel.xaml b/Options/AboutOptionsPanel.xaml index 09c7830..4789e7e 100644 --- a/Options/AboutOptionsPanel.xaml +++ b/Options/AboutOptionsPanel.xaml @@ -4,21 +4,43 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:windows="clr-namespace:Common.Wpf.Windows;assembly=Common.Wpf" + xmlns:properties="clr-namespace:ProcessCpuUsageStatusWindow.Properties" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300"> + + + + + + + + FontWeight="Bold" + Grid.Row="0" /> + VerticalAlignment="Top" + Grid.Row="1" /> + VerticalAlignment="Top" + Grid.Row="2" /> + +