Exemple #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);
     }
 }
Exemple #2
0
 public static void ShowDialog(string message, Exception exception)
 {
     ErrorDialogue newErrorDialogue = new ErrorDialogue(message, exception);
     newErrorDialogue.ShowDialog();
 }
Exemple #3
0
        public static void ShowDialog(string message, Exception exception)
        {
            ErrorDialogue newErrorDialogue = new ErrorDialogue(message, exception);

            newErrorDialogue.ShowDialog();
        }