OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / win / C# / EncodeQueue / Encode.cs
index 60f460a..2d788b7 100644 (file)
@@ -83,11 +83,11 @@ namespace Handbrake.EncodeQueue
         /// </summary>\r
         public void SafelyClose()\r
         {\r
-            if ((int)this.ProcessHandle == 0)\r
+            if ((int) this.ProcessHandle == 0)\r
                 return;\r
 \r
             // Allow the CLI to exit cleanly\r
-            Win32.SetForegroundWindow((int)this.ProcessHandle);\r
+            Win32.SetForegroundWindow((int) this.ProcessHandle);\r
             SendKeys.Send("^C");\r
 \r
             // HbProcess.StandardInput.AutoFlush = true;\r
@@ -166,7 +166,7 @@ namespace Handbrake.EncodeQueue
             {\r
                 MessageBox.Show(\r
                     "It would appear that HandBrakeCLI has not started correctly. You should take a look at the Activity log as it may indicate the reason why.\n\nDetailed Error Information: error occured in runCli()\n\n" +\r
-                    exc,\r
+                    exc, \r
                     "Error", \r
                     MessageBoxButtons.OK, \r
                     MessageBoxIcon.Error);\r
@@ -361,9 +361,9 @@ namespace Handbrake.EncodeQueue
             catch (Exception exc)\r
             {\r
                 MessageBox.Show(\r
-                    "Something went a bit wrong trying to copy your log file.\nError Information:\n\n" + exc,\r
-                    "Error",\r
-                    MessageBoxButtons.OK,\r
+                    "Something went a bit wrong trying to copy your log file.\nError Information:\n\n" + exc, \r
+                    "Error", \r
+                    MessageBoxButtons.OK, \r
                     MessageBoxIcon.Error);\r
             }\r
         }\r