summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/Functions')
-rw-r--r--win/C#/Functions/Main.cs8
-rw-r--r--win/C#/Functions/QueryParser.cs4
2 files changed, 9 insertions, 3 deletions
diff --git a/win/C#/Functions/Main.cs b/win/C#/Functions/Main.cs
index 552c6a95b..6d960efcf 100644
--- a/win/C#/Functions/Main.cs
+++ b/win/C#/Functions/Main.cs
@@ -162,7 +162,9 @@ namespace Handbrake.Functions
}
catch (Exception exc)
{
- MessageBox.Show("Unable to save Chapter Makrers file! \nChapter marker names will NOT be saved in your encode \n\n" + exc, "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+ frmExceptionWindow exceptionWindow = new frmExceptionWindow();
+ exceptionWindow.Setup("Unable to save Chapter Makrers file! \nChapter marker names will NOT be saved in your encode", exc.ToString());
+ exceptionWindow.ShowDialog();
return false;
}
}
@@ -328,7 +330,9 @@ namespace Handbrake.Functions
}
catch (Exception e)
{
- MessageBox.Show("Unable to retrieve version information from the CLI. \nError:\n" + e);
+ frmExceptionWindow exceptionWindow = new frmExceptionWindow();
+ exceptionWindow.Setup("Unable to retrieve version information from the CLI.", e.ToString());
+ exceptionWindow.ShowDialog();
}
}
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs
index 4d01c91de..8523fc178 100644
--- a/win/C#/Functions/QueryParser.cs
+++ b/win/C#/Functions/QueryParser.cs
@@ -633,7 +633,9 @@ namespace Handbrake.Functions
}
catch (Exception exc)
{
- MessageBox.Show("An error has occured in the Query Parser.\n\n" + exc, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ frmExceptionWindow exceptionWindow = new frmExceptionWindow();
+ exceptionWindow.Setup("An error has occured in the Query Parser.", exc.ToString());
+ exceptionWindow.ShowDialog();
}
#endregion