Beispiel #1
0
 protected void Facade_ErrorEventHandler(object sender, OnErrorArgs e)
 {
     //LoggerService.Instance.Error("Error on " + sender.GetType(), e.CException);
     Message   = ExceptionHelpers.GetMessage(e.CException);
     IsSuccess = false;
 }
Beispiel #2
0
 public static DialogResult ShowError(IWin32Window win, Exception err)
 {
     return(MessageBox.Show(win, ExceptionHelpers.GetMessage(err), @"Error", MessageBoxButtons.OK, MessageBoxIcon.Error));
 }