diff --git a/DellMonitorControl/DellMonitorControl.csproj b/DellMonitorControl/DellMonitorControl.csproj
index f5f873e..3f3c428 100644
--- a/DellMonitorControl/DellMonitorControl.csproj
+++ b/DellMonitorControl/DellMonitorControl.csproj
@@ -15,9 +15,9 @@
- 1.1.3
- 1.1.3.0
- 1.1.3.0
+ 1.1.4
+ 1.1.4.0
+ 1.1.4.0
diff --git a/DellMonitorControl/MainWindow.xaml b/DellMonitorControl/MainWindow.xaml
index 4da7a43..1e5c224 100644
--- a/DellMonitorControl/MainWindow.xaml
+++ b/DellMonitorControl/MainWindow.xaml
@@ -188,8 +188,12 @@
-
+
+
+
+
diff --git a/DellMonitorControl/MainWindow.xaml.cs b/DellMonitorControl/MainWindow.xaml.cs
index 271882c..dad9b4c 100644
--- a/DellMonitorControl/MainWindow.xaml.cs
+++ b/DellMonitorControl/MainWindow.xaml.cs
@@ -70,6 +70,85 @@ public partial class MainWindow : Window
Application.Current.Shutdown();
}
+ private void AboutButton_Click(object sender, RoutedEventArgs e)
+ {
+ var version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
+ var versionStr = $"{version?.Major}.{version?.Minor}.{version?.Build}";
+
+ var aboutWindow = new Window
+ {
+ Title = "About Monitor Control",
+ Width = 300,
+ Height = 180,
+ WindowStartupLocation = WindowStartupLocation.CenterScreen,
+ ResizeMode = ResizeMode.NoResize,
+ WindowStyle = WindowStyle.None,
+ AllowsTransparency = true,
+ Background = Brushes.Transparent
+ };
+
+ var border = new Border
+ {
+ Background = new SolidColorBrush(Color.FromArgb(0xF0, 0x33, 0x33, 0x33)),
+ CornerRadius = new CornerRadius(8),
+ BorderBrush = new SolidColorBrush(Color.FromRgb(0x55, 0x55, 0x55)),
+ BorderThickness = new Thickness(1),
+ Padding = new Thickness(20)
+ };
+
+ var stack = new StackPanel { VerticalAlignment = VerticalAlignment.Center };
+
+ stack.Children.Add(new TextBlock
+ {
+ Text = "Monitor Control",
+ Foreground = Brushes.White,
+ FontSize = 18,
+ FontWeight = FontWeights.SemiBold,
+ HorizontalAlignment = HorizontalAlignment.Center,
+ Margin = new Thickness(0, 0, 0, 5)
+ });
+
+ stack.Children.Add(new TextBlock
+ {
+ Text = $"Version {versionStr}",
+ Foreground = Brushes.LightGray,
+ FontSize = 12,
+ HorizontalAlignment = HorizontalAlignment.Center,
+ Margin = new Thickness(0, 0, 0, 10)
+ });
+
+ stack.Children.Add(new TextBlock
+ {
+ Text = "by David H. Friedel Jr",
+ Foreground = Brushes.Gray,
+ FontSize = 11,
+ HorizontalAlignment = HorizontalAlignment.Center
+ });
+
+ stack.Children.Add(new TextBlock
+ {
+ Text = "MarketAlly",
+ Foreground = Brushes.Gray,
+ FontSize = 11,
+ HorizontalAlignment = HorizontalAlignment.Center,
+ Margin = new Thickness(0, 0, 0, 15)
+ });
+
+ var closeBtn = new Button
+ {
+ Content = "OK",
+ Width = 80,
+ HorizontalAlignment = HorizontalAlignment.Center,
+ Style = (Style)FindResource("DarkButton")
+ };
+ closeBtn.Click += (s, args) => aboutWindow.Close();
+ stack.Children.Add(closeBtn);
+
+ border.Child = stack;
+ aboutWindow.Content = border;
+ aboutWindow.ShowDialog();
+ }
+
private void ShowLogButton_Click(object sender, RoutedEventArgs e)
{
var logWindow = new Window
diff --git a/DellMonitorControl/MonitorControl.iss b/DellMonitorControl/MonitorControl.iss
index 54057b2..a71487e 100644
--- a/DellMonitorControl/MonitorControl.iss
+++ b/DellMonitorControl/MonitorControl.iss
@@ -1,5 +1,5 @@
#define MyAppName "Monitor Control"
-#define MyAppVersion "1.1.3"
+#define MyAppVersion "1.1.4"
#define MyAppPublisher "MarketAlly"
#define MyAppExeName "DellMonitorControl.exe"
#define MyAppIcon "MonitorIcon.ico"