Example #1
0
        /// <summary>
        /// 获取发货单 obtian the invoice
        /// </summary>
        private void FillCustomerSendData()
        {
            MyLoadingLib.GridLoading loading  = new MyLoadingLib.GridLoading();
            List <WeighingBill>      sendList = WeighingBillModel.GetInvoice();

            if (sendList != null && sendList.Count > 0)
            {
                this.SendBillListView.ItemsSource = sendList;
                this.SendBillCountTb.Text         = sendList.Count.ToString();
            }
            else
            {
                this.SendBillListView.ItemsSource = null;
                this.SendBillCountTb.Text         = "0";
            }
        }
 private void GetData()
 {
     mWeighingBills = WeighingBillModel.GetInvoice();
     this.SendBillDataGrid.ItemsSource = mWeighingBills;
 }