summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/Main.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-05-23 15:35:57 +0000
committersr55 <[email protected]>2010-05-23 15:35:57 +0000
commita28717d0b3d41674934d6e0e24ee70344576fb1e (patch)
treef82bcc5c983d0de0bf83a4fc65800926a83cbe76 /win/C#/Functions/Main.cs
parentf89416ee188a36566bd420d36488d1110a7ca1d5 (diff)
WinGui:
- Added some new events to the Queue for future refactoring. - Refactor / Cleanup / Remove more stylecop warnings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3315 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/Main.cs')
-rw-r--r--win/C#/Functions/Main.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/win/C#/Functions/Main.cs b/win/C#/Functions/Main.cs
index 6d960efcf..d7380b2b1 100644
--- a/win/C#/Functions/Main.cs
+++ b/win/C#/Functions/Main.cs
@@ -815,5 +815,21 @@ namespace Handbrake.Functions
return sb.ToString().Trim();
}
+
+ /// <summary>
+ /// Show the Exception Window
+ /// </summary>
+ /// <param name="shortError">
+ /// The short error.
+ /// </param>
+ /// <param name="longError">
+ /// The long error.
+ /// </param>
+ public static void ShowExceptiowWindow(string shortError, string longError)
+ {
+ frmExceptionWindow exceptionWindow = new frmExceptionWindow();
+ exceptionWindow.Setup(shortError, longError);
+ exceptionWindow.Show();
+ }
}
} \ No newline at end of file