}\r
catch (Exception exc)\r
{\r
- MessageBox.Show("An error has occured in the Query Parser.\n\n" + exc, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
+ frmExceptionWindow exceptionWindow = new frmExceptionWindow();\r
+ exceptionWindow.Setup("An error has occured in the Query Parser.", exc.ToString());\r
+ exceptionWindow.ShowDialog();\r
}\r
\r
#endregion\r