Exemple #1
0
 public static void ErrorMessage(string message, Exception ex, string context)
 {
     FL.Error(ex, context);
     FieldLogScreenshot.CreateForMainWindow();
     if (message != null)
     {
         FL.ShowErrorDialog(message, ex);
     }
     else
     {
         FL.ShowErrorDialog(ex);
     }
 }
Exemple #2
0
 public static void ErrorMessage(string message)
 {
     FL.Error(message);
     FieldLogScreenshot.CreateForMainWindow();
     MessageBox.Show(message, messageBoxTitle, MessageBoxButton.OK, MessageBoxImage.Error);
 }