From fbb797968d30e58f6d2494ac2fd7c1da6e206a99 Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Mon, 20 Dec 2021 13:14:00 -0500 Subject: [PATCH] Add update button to about --- App.xaml.cs | 2 +- Options/AboutOptionsPanel.xaml | 32 ++++++++++++++++++++++++++----- Options/AboutOptionsPanel.xaml.cs | 6 ++++++ Properties/Resources.Designer.cs | 9 +++++++++ Properties/Resources.resx | 3 +++ TrayIcon.cs | 2 +- 6 files changed, 47 insertions(+), 7 deletions(-) diff --git a/App.xaml.cs b/App.xaml.cs index 77cc29a..c45a0e6 100644 --- a/App.xaml.cs +++ b/App.xaml.cs @@ -76,7 +76,7 @@ namespace WorkIndicator if (status == UpdateCheck.UpdateStatus.None) message = WorkIndicator.Properties.Resources.Loading; - _dispatcher.Invoke(() => TrayIcon.SetText(message)); + // _dispatcher.Invoke(() => TrayIcon.SetText(message)); } protected override void OnExit(ExitEventArgs e) diff --git a/Options/AboutOptionsPanel.xaml b/Options/AboutOptionsPanel.xaml index a437ade..bf41ee4 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:WorkIndicator.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" /> + +