/// <summary>
        /// 显示备货中订单
        /// </summary>
        public void beihuozhongShow()
        {
            if (newTime.starTime != null && newTime.endTime != null)
            {
                dataGridView1.Rows.Clear();
                dataBase    read        = new dataBase();
                List <info> readContent = new List <info>();
                String      ResultStr   = string.Empty;
                readContent = read.readString(newTime.starTime.ToString(), newTime.endTime.ToString());

                int count = 0;


                for (int i = 0; i < readContent.Count; i++)
                {
                    if (readContent[i].ShoppingState == 1)
                    {
                        dataGridView1.Rows.Add();
                        dataGridView1.Rows[count].Cells["Id"].Value = count;

                        dataGridView1.Rows[count].Cells["OrderNo"].Value     = readContent[i].OrderNo;
                        dataGridView1.Rows[count].Cells["PayTime"].Value     = readContent[i].PayTime;
                        dataGridView1.Rows[count].Cells["RecevieName"].Value = readContent[i].RecevieName;
                        dataGridView1.Rows[count].Cells["ReceiveTel"].Value  = readContent[i].ReceiveTel;
                        dataGridView1.Rows[count].Cells["OrderMoney"].Value  = readContent[i].OrderMoney;
                        dataGridView1.Rows[count].Cells["Behavior"].Value    = "详情";


                        dataGridView1.Rows[count].Cells["OrderState"].Value = "备货中";
                        count++;
                    }
                }
                KindView = 2;
            }
        }
        /// <summary>
        /// 订单全部显示
        /// </summary>
        public void Allshowinfo()
        {
            if (newTime.starTime != null && newTime.endTime != null)
            {
                dataGridView1.Rows.Clear();
                dataBase    read        = new dataBase();
                List <info> readContent = new List <info>();
                String      ResultStr   = string.Empty;
                readContent = read.readString(newTime.starTime.ToString(), newTime.endTime.ToString());



                for (int i = 0; i < readContent.Count; i++)
                {
                    dataGridView1.Rows.Add();
                    dataGridView1.Rows[i].Cells["Id"].Value          = i;
                    dataGridView1.Rows[i].Cells["OrderNo"].Value     = readContent[i].OrderNo;
                    dataGridView1.Rows[i].Cells["PayTime"].Value     = readContent[i].PayTime;
                    dataGridView1.Rows[i].Cells["RecevieName"].Value = readContent[i].RecevieName;
                    dataGridView1.Rows[i].Cells["ReceiveTel"].Value  = readContent[i].ReceiveTel;
                    dataGridView1.Rows[i].Cells["OrderMoney"].Value  = readContent[i].OrderMoney;
                    dataGridView1.Rows[i].Cells["OrderMoney"].Value  = readContent[i].OrderMoney;
                    dataGridView1.Rows[i].Cells["Behavior"].Value    = "详情";



                    switch (readContent[i].OrderState)
                    {
                    case 0: ResultStr = "待确认"; break;

                    case 1: ResultStr = "已确认"; break;

                    case 2: ResultStr = "已取消"; break;

                    case 4: ResultStr = "无效"; break;

                    default: break;
                    }

                    switch (readContent[i].PayState)
                    {
                    case 0: ResultStr += "未支付"; break;

                    case 2: ResultStr += "已支付"; break;

                    default: break;
                    }
                    switch (readContent[i].ShoppingState)
                    {
                    case 0: ResultStr += "未发货"; break;

                    case 1: ResultStr += "备货中"; break;

                    case 2: ResultStr += "发货中"; break;

                    case 3: ResultStr += "已发货"; break;

                    case 4: ResultStr += "确认收货"; break;

                    default: break;
                    }

                    dataGridView1.Rows[i].Cells["OrderState"].Value = ResultStr;
                }
                KindView = 0; //修改货物窗口种类
            }
        }