Example #1
0
 public static void ProccessError(Exception exception, string message)
 {
     try {
         Program.WindowsHook.Stop();
         Program.BorderSkinningManager.Stop();
     } catch (Exception) {
     } finally {
         ErrorDialogue.ShowDialog(message, exception);
         Environment.Exit(0);
     }
 }
Example #2
0
 public static void ShowDialog(string message, Exception exception)
 {
     ErrorDialogue newErrorDialogue = new ErrorDialogue(message, exception);
     newErrorDialogue.ShowDialog();
 }
Example #3
0
        public static void ShowDialog(string message, Exception exception)
        {
            ErrorDialogue newErrorDialogue = new ErrorDialogue(message, exception);

            newErrorDialogue.ShowDialog();
        }