OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / win / C# / frmAbout.cs
index 6531cf1..9db62f8 100644 (file)
@@ -1,11 +1,12 @@
 /*  frmAbout.cs $\r
-   This file is part of the HandBrake source code.\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.Reflection;\r
     using System.Windows.Forms;\r
 \r
     /// <summary>\r
@@ -19,8 +20,12 @@ namespace Handbrake
         public frmAbout()\r
         {\r
             InitializeComponent();\r
-            lbl_HBBuild.Text = Properties.Settings.Default.hb_version + " (" + Properties.Settings.Default.hb_build +\r
+            lbl_HBBuild.Text = "CLI Build: " + Properties.Settings.Default.hb_version + " (" + Properties.Settings.Default.hb_build +\r
                                ") - " + Properties.Settings.Default.hb_platform;\r
+\r
+            Version gui = Assembly.GetExecutingAssembly().GetName().Version;\r
+            Version appServices = HandBrake.ApplicationServices.Init.AssemblyVersion();\r
+            lbl_GUIBuild.Text = gui.ToString(4) + " (Services: "  + appServices.ToString(4) + ")";\r
         }\r
 \r
         /// <summary>\r