/// <summary> /// 部门的执行一览(流水) /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void clientFBA_OutFileDeptDayBookDataCompleted(object sender, OutFileDeptDayBookDataCompletedEventArgs e) { loadbar.Stop(); if (e.Error == null) { byte[] byExport = e.Result; if (this.stream != null) { this.stream.Write(byExport, 0, byExport.Length); this.stream.Close(); this.stream.Dispose(); this.stream = null; } Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESS"), "导出部门的执行一览(流水)数据完毕!"); } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), "导出部门的执行一览(流水)数据失败!" + e.Error.Message); } }