Beispiel #1
0
        public static void ShowException(Exception e)
        {
#if DEBUG
            ExceptionForm form = new ExceptionForm();
            form.SetModal(e);
#endif
        }
Beispiel #2
0
 public static void LogError(string content)
 {
     try
     {
         LogInfo(content, Logger.WriteType.Error);
     }
     catch (Exception e)
     {
         ExceptionForm form = new ExceptionForm();
         form.SetModal(e);
         _canWriteLog = false;
     }
 }