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

            newErrorDialogue.ShowDialog();
        }