1.1 --- a/GUI/AboutBox.cs Wed Feb 22 23:36:26 2012 +0000
1.2 +++ b/GUI/AboutBox.cs Sun May 27 14:23:31 2012 +0000
1.3 @@ -1,38 +1,11 @@
1.4 /*
1.5 -
1.6 - Version: MPL 1.1/GPL 2.0/LGPL 2.1
1.7 -
1.8 - The contents of this file are subject to the Mozilla Public License Version
1.9 - 1.1 (the "License"); you may not use this file except in compliance with
1.10 - the License. You may obtain a copy of the License at
1.11
1.12 - http://www.mozilla.org/MPL/
1.13 -
1.14 - Software distributed under the License is distributed on an "AS IS" basis,
1.15 - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
1.16 - for the specific language governing rights and limitations under the License.
1.17 -
1.18 - The Original Code is the Open Hardware Monitor code.
1.19 -
1.20 - The Initial Developer of the Original Code is
1.21 - Michael Möller <m.moeller@gmx.ch>.
1.22 - Portions created by the Initial Developer are Copyright (C) 2009-2010
1.23 - the Initial Developer. All Rights Reserved.
1.24 -
1.25 - Contributor(s):
1.26 -
1.27 - Alternatively, the contents of this file may be used under the terms of
1.28 - either the GNU General Public License Version 2 or later (the "GPL"), or
1.29 - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
1.30 - in which case the provisions of the GPL or the LGPL are applicable instead
1.31 - of those above. If you wish to allow use of your version of this file only
1.32 - under the terms of either the GPL or the LGPL, and not to allow others to
1.33 - use your version of this file under the terms of the MPL, indicate your
1.34 - decision by deleting the provisions above and replace them with the notice
1.35 - and other provisions required by the GPL or the LGPL. If you do not delete
1.36 - the provisions above, a recipient may use your version of this file under
1.37 - the terms of any one of the MPL, the GPL or the LGPL.
1.38 + This Source Code Form is subject to the terms of the Mozilla Public
1.39 + License, v. 2.0. If a copy of the MPL was not distributed with this
1.40 + file, You can obtain one at http://mozilla.org/MPL/2.0/.
1.41
1.42 + Copyright (C) 2009-2010 Michael Möller <mmoeller@openhardwaremonitor.org>
1.43 +
1.44 */
1.45
1.46 using System;
1.47 @@ -49,12 +22,17 @@
1.48 this.Font = SystemFonts.MessageBoxFont;
1.49 this.label3.Text = "Version " +
1.50 System.Windows.Forms.Application.ProductVersion;
1.51 - linkLabel.Links.Remove(linkLabel.Links[0]);
1.52 - linkLabel.Links.Add(0, linkLabel.Text.Length,
1.53 +
1.54 + projectLinkLabel.Links.Remove(projectLinkLabel.Links[0]);
1.55 + projectLinkLabel.Links.Add(0, projectLinkLabel.Text.Length,
1.56 "http://openhardwaremonitor.org");
1.57 +
1.58 + licenseLinkLabel.Links.Remove(licenseLinkLabel.Links[0]);
1.59 + licenseLinkLabel.Links.Add(0, licenseLinkLabel.Text.Length,
1.60 + "License.html");
1.61 }
1.62
1.63 - private void linkLabel1_LinkClicked(object sender,
1.64 + private void linkLabel_LinkClicked(object sender,
1.65 LinkLabelLinkClickedEventArgs e) {
1.66 try {
1.67 Process.Start(new ProcessStartInfo(e.Link.LinkData.ToString()));