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