Пример #1
0
 public static void ShowException(string startText, Exception ex, string title = null, Window owner = null)
 {
     ExceptionBox.ShowException(startText, new TextExceptionFormatter(ex).Format(), title, owner);
 }
Пример #2
0
 public static void ShowException(Exception ex, string title = null, Window owner = null)
 {
     ExceptionBox.ShowException(TextExceptionFormatter.GetInnerException(ex).Message, new TextExceptionFormatter(ex).Format(), title, owner);
 }