public static void ShowBox(Exception ex, Window parent, string appName)
 {
     try {
         CrashReport win = new CrashReport(ex, parent, appName);
         win.ShowDialog();
     }
     catch (Exception e) {
         Log.Exception(9999, "CrashReport", "ShowBox", e);
     }
 }
        public static void ShowBox(ErrReport report, Window parent, string appName)
        {
            CrashReport win = new CrashReport(report, parent, appName);

            win.ShowDialog();
        }