diff ServerMonitor/Forms/ServerSummaryForm.cs @ 19:b3128fe10d57

Add About form and license.
author Brad Greco <brad@bgreco.net>
date Wed, 29 May 2019 20:18:37 -0400
parents 7626b099aefd
children 3866c19535fd
line wrap: on
line diff
--- a/ServerMonitor/Forms/ServerSummaryForm.cs	Mon May 27 15:40:44 2019 -0400
+++ b/ServerMonitor/Forms/ServerSummaryForm.cs	Wed May 29 20:18:37 2019 -0400
@@ -31,6 +31,7 @@
 
             // Resize the images in buttons to fit the button size.
             Helpers.FormatImageButton(NewServerButton);
+            Helpers.FormatImageButton(AboutButton);
             Helpers.FormatImageButton(SettingsButton);
             // Create the global server monitor object.
             monitor = new ServerMonitor(this);
@@ -450,5 +451,10 @@
             version = parts[0];
             changeMessage = parts[1];
         }
+
+        private void AboutButton_Click(object sender, EventArgs e)
+        {
+            new AboutForm().Show();
+        }
     }
 }