OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / win / C# / frmUpdater.cs
index 1237606..f2e7c02 100644 (file)
@@ -4,15 +4,16 @@
           Homepage: <http://handbrake.fr>.\r
           It may be used under the terms of the GNU General Public License. */\r
 \r
-using System;\r
-using System.Windows.Forms;\r
-using Handbrake.Functions;\r
-\r
 namespace Handbrake\r
 {\r
+    using System;\r
+    using System.Windows.Forms;\r
+    using Functions;\r
+\r
     public partial class frmUpdater : Form\r
     {\r
-        readonly AppcastReader Appcast;\r
+        private readonly AppcastReader Appcast;\r
+\r
         public frmUpdater(AppcastReader reader)\r
         {\r
             InitializeComponent();\r
@@ -29,7 +30,8 @@ namespace Handbrake
 \r
         private void SetVersions()\r
         {\r
-            string old = "(You have: " + Properties.Settings.Default.hb_version.Trim() + " / " + Properties.Settings.Default.hb_build.ToString().Trim() + ")";\r
+            string old = "(You have: " + Properties.Settings.Default.hb_version.Trim() + " / " +\r
+                         Properties.Settings.Default.hb_build.ToString().Trim() + ")";\r
             string newBuild = Appcast.Version.Trim() + " (" + Appcast.Build + ")";\r
             lbl_update_text.Text = "HandBrake " + newBuild + " is now available. " + old;\r
         }\r
@@ -53,6 +55,5 @@ namespace Handbrake
 \r
             this.Close();\r
         }\r
-\r
     }\r
 }
\ No newline at end of file