Menu

[938ffe]: / ArchersFriend.UI.WinForms / AboutBox.cs  Maximize  Restore  History

Download this file

54 lines (51 with data), 2.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//-----------------------------------------------------------------------
// <copyright file="AboutBox.cs" company="Richard Smith">
// Copyright (c) Richard Smith 2010. All rights reserved.
// </copyright>
// <license>
// This file is part of Archer's Friend.
//
// Archer's Friend is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Archer's Friend is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Archer's Friend. If not, see "http://www.gnu.org/licenses/".
// </license>
// <author>Richard Smith - wyzwun@users.sourceforge.net</author>
//-----------------------------------------------------------------------
namespace ArchersFriend.UI.WinForms
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Globalization;
using System.Linq;
using System.Windows.Forms;
using ArchersFriend.Core.Assemblies;
/// <summary>
/// The about box for Archer's Friend.
/// </summary>
public partial class AboutBox : Form
{
/// <summary>
/// Initializes a new instance of the <see cref="AboutBox"/> class.
/// </summary>
public AboutBox()
{
this.InitializeComponent();
this.Text = String.Format(CultureInfo.CurrentCulture, this.Text, AssemblyHelper.AssemblyProduct);
this.labelProductName.Text = AssemblyHelper.AssemblyProduct;
this.labelVersion.Text = String.Format(CultureInfo.CurrentCulture, this.labelVersion.Text, AssemblyHelper.AssemblyVersion);
this.labelCopyright.Text = AssemblyHelper.AssemblyCopyright;
this.textBoxDescription.Text = AssemblyHelper.AssemblyDescription;
}
}
}