Files
ReLibreHardwareMonitor/LibreHardwareMonitor/UI/AboutBox.cs
T
sebastian-dev 963ab50dda Bugfix and Asrock B450 Mainboards (#139)
Bugfix: Parameter Form data binding is not working
Asrock B450 Mainboards
2019-10-01 14:28:42 +02:00

35 lines
1.2 KiB
C#

// Mozilla Public License 2.0
// If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
// Copyright (C) LibreHardwareMonitor and Contributors
// All Rights Reserved
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
namespace LibreHardwareMonitor.UI
{
public sealed partial class AboutBox : Form
{
public AboutBox()
{
InitializeComponent();
Font = SystemFonts.MessageBoxFont;
label3.Text = "Version " + Application.ProductVersion;
projectLinkLabel.Links.Remove(projectLinkLabel.Links[0]);
projectLinkLabel.Links.Add(0, projectLinkLabel.Text.Length, "https://github.com/LibreHardwareMonitor/LibreHardwareMonitor");
licenseLinkLabel.Links.Remove(licenseLinkLabel.Links[0]);
licenseLinkLabel.Links.Add(0, licenseLinkLabel.Text.Length, "https://www.mozilla.org/en-US/MPL/2.0/");
}
private void LinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
try
{
Process.Start(new ProcessStartInfo(e.Link.LinkData.ToString()));
}
catch { }
}
}
}