void client_EditRequireresultCompleted(object sender, EditRequireresultCompletedEventArgs e) { try { if (e.Error == null) { if (e.Result) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "成功", " 保存成功", MessageIcon.Error); actionType = FormTypes.Edit; EntityBrowser entBrowser = this.FindParentByType<EntityBrowser>(); entBrowser.FormType = FormTypes.Edit; RefreshUI(RefreshedTypes.AuditInfo); RefreshUI(RefreshedTypes.All); } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "失败", "保存失败", MessageIcon.Error); } } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "失败", "保存失败", MessageIcon.Error); } } catch (Exception ex) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "失败", "保存失败", MessageIcon.Error); } loadbar.Stop(); }
void client_EditRequireresultCompleted(object sender, EditRequireresultCompletedEventArgs e) { try { if (e.Error == null) { if (e.Result) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "成功", " 保存成功", MessageIcon.Error); actionType = FormTypes.Edit; EntityBrowser entBrowser = this.FindParentByType <EntityBrowser>(); entBrowser.FormType = FormTypes.Edit; RefreshUI(RefreshedTypes.AuditInfo); RefreshUI(RefreshedTypes.All); } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "失败", "保存失败", MessageIcon.Error); } } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "失败", "保存失败", MessageIcon.Error); } } catch (Exception ex) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "失败", "保存失败", MessageIcon.Error); } loadbar.Stop(); }