/// <summary> /// 显示统计合计信息 /// </summary> /// <param name="_sumInfo"></param> private void ShowTotalSumInfo(TotalSumInfo _sumInfo) { if (_sumInfo != null) { lblTotalNumber.Text = _sumInfo.TotalSumNumber.ToString(); lblTotalMoney.Text = _sumInfo.TotalSumMoney.ToString(); lblTotalProfit.Text = _sumInfo.TOtalSumProfit.ToString(); } }
/// <summary> /// 查询返回结果 /// </summary> /// <param name="_recors"></param> /// <param name="_Succed"></param> /// <param name="_MsgInfo"></param> void manager_QueryEndEvent(List <SellRecordInfo> _recors, TotalSumInfo _sumInfo, bool _Succed, string _MsgInfo) { if (this.InvokeRequired) { this.BeginInvoke(new SellRecordsQueryManager.DelSellRecordQueryEndArg(SellRecordListQueryEndManager), new object[] { _recors, _sumInfo, _Succed, _MsgInfo }); } else { SellRecordListQueryEndManager(_recors, _sumInfo, _Succed, _MsgInfo); } }
/// <summary> /// 列表显示 /// </summary> /// <param name="_list"></param> /// <param name="_state"></param> /// <param name="_strMsg"></param> private void SellRecordListQueryEndManager(List <SellRecordInfo> _list, TotalSumInfo _sumInfo, bool _state, string _strMsg) { if (_state) { ListViewReloadData(_list); TolMsgInfo.Text = _strMsg; } else { TolMsgInfo.Text = _strMsg; } ShowTotalSumInfo(_sumInfo); SortpanalBar.Visible = false;//隐藏loading.. CmboxDeviceClass.Enabled = true; ThisList = _list; }