OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / win / C# / frmAbout.cs
1 /*  frmAbout.cs $\r
2     This file is part of the HandBrake source code.\r
3     Homepage: <http://handbrake.fr>.\r
4     It may be used under the terms of the GNU General Public License. */\r
5 \r
6 namespace Handbrake\r
7 {\r
8     using System;\r
9     using System.Windows.Forms;\r
10 \r
11     /// <summary>\r
12     /// The About Window\r
13     /// </summary>\r
14     public partial class frmAbout : Form\r
15     {\r
16         /// <summary>\r
17         /// Initializes a new instance of the <see cref="frmAbout"/> class.\r
18         /// </summary>\r
19         public frmAbout()\r
20         {\r
21             InitializeComponent();\r
22 \r
23             string nightly = Properties.Settings.Default.hb_version.Contains("svn") ? " (SVN / Nightly Build)" : string.Empty;\r
24             lbl_GUIBuild.Text = Properties.Settings.Default.hb_version + " (" + Properties.Settings.Default.hb_build + ") " + nightly;\r
25         }\r
26 \r
27         /// <summary>\r
28         /// Button - Close the window\r
29         /// </summary>\r
30         /// <param name="sender">\r
31         /// The sender.\r
32         /// </param>\r
33         /// <param name="e">\r
34         /// The e.\r
35         /// </param>\r
36         private void btn_close_Click(object sender, EventArgs e)\r
37         {\r
38             this.Close();\r
39         }\r
40     }\r
41 }