public Cuisine_Form(CuisineType cuisineType, Order order)
        {
            InitializeComponent();
            int i = 0;

            foreach (Cuisine cuisine in cuisineType.Cuisines)
            {
                Image           image   = ImageToByte.BytesToImage(cuisine.Picture);
                Cuisine_Control control = new Cuisine_Control(image);
                control.order   = order;
                control.cuisine = cuisine;
                control.Price   = cuisine.UnitPrice;
                pnlShowCuisine.Controls.Add(control);
                control.Location = new Point(10, i * 95 + 10);
                i++;
            }//显示所有的商家图片并进行动态绑定;
        }
        public Cuisine_Form(CuisineType cuisineType, Order order)
        {
            int i = 0;

            foreach (Cuisine cuisine in cuisineType.Cuisines)
            {
                Cuisine_Control control = new Cuisine_Control();
                control.DataBindings.Add("Name", cuisine, "Name");
                control.DataBindings.Add("Image", cuisine, "Picture");
                control.DataBindings.Add("Price", cuisine, "UnitPrice");
                pnlShowCuisine.Controls.Add(control);
                control.SetBounds(0, i * 75, 267, 75);
                i++;
            }//显示所有的商家图片并进行动态绑定;



            InitializeComponent();
        }