void BumfClient_DocTypeBatchDelCompleted(object sender, DocTypeBatchDelCompletedEventArgs e) { if (!e.Cancelled) { DelInfosList.Clear();//清空列表 if (e.Result == "") { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "DOCUMENTTYPE")); LoadDocTypeInfos(); } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr(e.Result.ToString())); return; } } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("DELETEFAILED", e.Error.ToString())); return; } }
void BumfClient_DocTypeBatchDelCompleted(object sender,DocTypeBatchDelCompletedEventArgs e) { if (!e.Cancelled) { DelInfosList.Clear();//清空列表 if (e.Result == "") { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "DOCUMENTTYPE")); LoadDocTypeInfos(); } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr(e.Result.ToString())); return; } } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("DELETEFAILED", e.Error.ToString())); return; } }