diff ServerMonitor/Forms/AboutForm.cs @ 20:b21318f6e3f1

About window tweaks
author Brad Greco <brad@bgreco.net>
date Thu, 30 May 2019 20:36:42 -0400
parents b3128fe10d57
children f6235dc0a8ec
line wrap: on
line diff
--- a/ServerMonitor/Forms/AboutForm.cs	Wed May 29 20:18:37 2019 -0400
+++ b/ServerMonitor/Forms/AboutForm.cs	Thu May 30 20:36:42 2019 -0400
@@ -18,6 +18,8 @@
         {
             Icon = Resources.icon;
             NameLabel.Text += " " + Assembly.GetExecutingAssembly().GetName().Version.ToString(2);
+            // Remove initial focus on the first link causing an dotted outline.
+            ActiveControl = NameLabel;
         }
 
         /// <summary>Hides the form when ESC is pressed.</summary>
@@ -33,7 +35,17 @@
 
         private void HomePageLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
         {
-            Process.Start("http://bgreco.net/servermonitor");
+            Process.Start("https://bgreco.net/servermonitor");
+        }
+
+        private void SshNetLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
+        {
+            Process.Start("https://github.com/sshnet/SSH.NET");
+        }
+
+        private void NAppUpdateLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
+        {
+            Process.Start("https://github.com/synhershko/NAppUpdate");
         }
     }
 }