/// <summary> /// 弹窗显示错误信息 /// </summary> /// <param name="ex"></param> /// <param name="title"></param> protected void ShowEx(Exception ex, string title) { if (IsShowMsg) { Task.Factory.StartNew(() => DHelper.ShowEx(ex, title)).Wait(); } }