Esempio n. 1
0
 private static void HandleException(Exception e)
 {
     string err = e.ToString();
     ExceptionForm form = new ExceptionForm();
     form.ShowException(err);
     System.IO.File.WriteAllText("lasterror.txt", err);
 }
Esempio n. 2
0
        private static void HandleException(Exception e)
        {
            string        err  = e.ToString();
            ExceptionForm form = new ExceptionForm();

            form.ShowException(err);
            System.IO.File.WriteAllText("lasterror.txt", err);
        }