private void btn_add_Click(object sender, EventArgs e)
        {
            Models.dd_tuijian dd_Tuijian = new Models.dd_tuijian();
            MyForm.FoodManagement.EdittuijianForm edittuijian = new EdittuijianForm(dd_Tuijian);
            edittuijian.StartPosition = FormStartPosition.CenterScreen;
            edittuijian.ShowDialog();

            RefreshGridList();
            this.Close();
        }
        private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            int tjid = Convert.ToInt32(this.gridView1.GetRowCellValue(this.gridView1.FocusedRowHandle, "tjid"));

            if (e.Button.Index == 0)
            {
                MyForm.FoodManagement.EdittuijianForm edittuijian = new EdittuijianForm(list.Find(o => o.tjid == tjid));
                edittuijian.StartPosition = FormStartPosition.CenterScreen;
                edittuijian.ShowDialog();
            }
            else
            {
                BIZFood.DeleteTuijian(tjid);
            }
            RefreshGridList();
        }