void ContractManagement_DeleteContraTemplateCompleted(object sender, DeleteContraTemplateCompletedEventArgs e) { try { if (e.Result != null) { LoadData(); } } catch (Exception ex) { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.ToString()); } loadbar.Stop();//读取完数据后,停止动画,隐藏 }
void ContractManagement_DeleteContraTemplateCompleted(object sender, DeleteContraTemplateCompletedEventArgs e) { try { if (e.Result != null) { LoadData(); } } catch (Exception ex) { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.ToString()); } loadbar.Stop();//读取完数据后,停止动画,隐藏 }