OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / win / C# / frmDownload.cs
index fb2b8ab..a3067e1 100644 (file)
@@ -1,5 +1,4 @@
 /*  frmDownload.cs $\r
-       \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
@@ -29,7 +28,6 @@ namespace Handbrake
 \r
         private delegate void DownloadFailedCallback();\r
 \r
-\r
         public frmDownload(string filename)\r
         {\r
             InitializeComponent();\r
@@ -86,10 +84,10 @@ namespace Handbrake
 \r
         private void UpdateProgress(long bytesRead, long totalBytes)\r
         {\r
-            long p = (bytesRead*100)/totalBytes;\r
+            long p = (bytesRead * 100) / totalBytes;\r
             int.TryParse(p.ToString(), out _progress);\r
             progress_download.Value = _progress;\r
-            lblProgress.Text = (bytesRead/1024) + "k of " + (totalBytes/1024) + "k ";\r
+            lblProgress.Text = (bytesRead / 1024) + "k of " + (totalBytes / 1024) + "k ";\r
         }\r
 \r
         private void DownloadComplete()\r