/// </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
{\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
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