OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / win / C# / frmAbout.cs
index ab1ed26..70fc922 100644 (file)
@@ -1,31 +1,41 @@
-using System;\r
-using System.Collections.Generic;\r
-using System.ComponentModel;\r
-using System.Data;\r
-using System.Drawing;\r
-using System.Text;\r
-using System.Windows.Forms;\r
-using System.Diagnostics;\r
+/*  frmAbout.cs $\r
+    This file is part of the HandBrake source code.\r
+    Homepage: <http://handbrake.fr>.\r
+    It may be used under the terms of the GNU General Public License. */\r
 \r
 namespace Handbrake\r
 {\r
+    using System;\r
+    using System.Windows.Forms;\r
+\r
+    /// <summary>\r
+    /// The About Window\r
+    /// </summary>\r
     public partial class frmAbout : Form\r
     {\r
+        /// <summary>\r
+        /// Initializes a new instance of the <see cref="frmAbout"/> class.\r
+        /// </summary>\r
         public frmAbout()\r
         {\r
             InitializeComponent();\r
-            Version.Text = Properties.Settings.Default.hb_version;\r
-            lbl_build.Text = Properties.Settings.Default.hb_build.ToString();\r
+\r
+            string nightly = Properties.Settings.Default.hb_version.Contains("svn") ? " (SVN / Nightly Build)" : string.Empty;\r
+            lbl_GUIBuild.Text = Properties.Settings.Default.hb_version + " (" + Properties.Settings.Default.hb_build + ") " + nightly;\r
         }\r
 \r
+        /// <summary>\r
+        /// Button - Close the window\r
+        /// </summary>\r
+        /// <param name="sender">\r
+        /// The sender.\r
+        /// </param>\r
+        /// <param name="e">\r
+        /// The e.\r
+        /// </param>\r
         private void btn_close_Click(object sender, EventArgs e)\r
         {\r
             this.Close();\r
         }\r
-\r
-        private void label_credits_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)\r
-        {\r
-            Process.Start("http://handbrake.m0k.org/trac/wiki/x264Options");\r
-        }\r
     }\r
 }
\ No newline at end of file