/// <summary>
        /// 点击商品面板的按钮执行的方法
        /// </summary>
        /// <param name="btnPaneProd">商品面板的引用</param>
        /// <param name="prod_id">商品id</param>
        /// <param name="combo_type">组合餐类型</param>
        private void BtnPanelProd_SetInfo(BtnPanelProd btnPaneProd, string prod_id, string combo_type)
        {
            int num;

            if (Info.inputNumber >= (decimal)0.001)
            {
                try
                {
                    num = Convert.ToInt32(Info.inputNumber);
                }
                catch { num = 1; }
            }
            else
            {
                num = 1;
            }
            //单餐
            if ("0" == combo_type)
            {
                Info.insertSingleProd.InsertSaleTmp1(prod_id, num, 0);
            }

            //点单控件加载信息
            this.orderMenu.LoadInfo();
            this.Number.TextBoxText = "";
        }
        /// <summary>
        /// 给商品面板加载信息
        /// </summary>
        /// <param name="buttonPanel">商品面板对象</param>
        /// <param name="isLoad">是否为初次加载</param>
        private void BtnPanelProd_GetInfo(BtnPanelProd buttonPanel, bool isLoad)
        {
            if (Info.getProduct == null)
            {
                Info.getProduct = new GetProduct0();
            }
            if (isLoad)
            {
                Info.getProduct.GetProducts(buttonPanel.Dep_id, Info.shop_id);
                buttonPanel.TotalBtn = Info.getProduct.ProductNumber;
            }



            if (buttonPanel.Page < (buttonPanel.TotalBtn / buttonPanel.PageBtnNum))
            {
                for (int i = 0; i < buttonPanel.PageBtnNum; i++)
                {
                    buttonPanel.ButtonDIY[i].Button.Text      = Info.getProduct.ReturnProdName(buttonPanel.Page * buttonPanel.PageBtnNum + i);
                    buttonPanel.ButtonDIY[i].Prod_id          = Info.getProduct.ReturnProId(buttonPanel.Page * buttonPanel.PageBtnNum + i);
                    buttonPanel.ButtonDIY[i].Button.BackColor = Info.getProduct.ReturnBtnColor(buttonPanel.Page * buttonPanel.PageBtnNum + i);
                    buttonPanel.ButtonDIY[i].Combo_type       = Info.getProduct.ReturnCombo_type(buttonPanel.Page * buttonPanel.PageBtnNum + i);
                    buttonPanel.ButtonDIY[i].Button.Font      = Info.getProduct.ReturnFont(buttonPanel.Page * buttonPanel.PageBtnNum + i);
                    buttonPanel.ButtonDIY[i].Sale_price       = Info.getProduct.ReturnPrice1(buttonPanel.Page * buttonPanel.PageBtnNum + i);
                }
            }
            if (buttonPanel.Page == (buttonPanel.TotalBtn / buttonPanel.PageBtnNum))
            {
                for (int i = 0; i < buttonPanel.TotalBtn - buttonPanel.PageBtnNum * buttonPanel.Page; i++)
                {
                    buttonPanel.ButtonDIY[i].Button.Text      = Info.getProduct.ReturnProdName(buttonPanel.Page * buttonPanel.PageBtnNum + i);
                    buttonPanel.ButtonDIY[i].Prod_id          = Info.getProduct.ReturnProId(buttonPanel.Page * buttonPanel.PageBtnNum + i);
                    buttonPanel.ButtonDIY[i].Button.BackColor = Info.getProduct.ReturnBtnColor(buttonPanel.Page * buttonPanel.PageBtnNum + i);
                    buttonPanel.ButtonDIY[i].Combo_type       = Info.getProduct.ReturnCombo_type(buttonPanel.Page * buttonPanel.PageBtnNum + i);
                    buttonPanel.ButtonDIY[i].Button.Font      = Info.getProduct.ReturnFont(buttonPanel.Page * buttonPanel.PageBtnNum + i);
                    buttonPanel.ButtonDIY[i].Sale_price       = Info.getProduct.ReturnPrice1(buttonPanel.Page * buttonPanel.PageBtnNum + i);
                }
            }
        }