//新增套餐
        private void addTool_Click(object sender, EventArgs e)
        {
            ComboForm addCombo = new ComboForm(db, null);

            if (addCombo.ShowDialog() == DialogResult.OK)
            {
                dgvCombo_show();
            }
        }
        //编辑套餐
        private void editTool_Click(object sender, EventArgs e)
        {
            if (dgvCombo.CurrentCell == null)
            {
                GeneralClass.printErrorMsg("没有选择行!");
                return;
            }

            int       comboId  = Convert.ToInt32(dgvCombo.CurrentRow.Cells[0].Value.ToString());
            ComboForm addCombo = new ComboForm(db, db.Combo.FirstOrDefault(x => x.id == comboId));

            if (addCombo.ShowDialog() == DialogResult.OK)
            {
                dgvCombo_show();
            }
        }
 //新增套餐
 private void addTool_Click(object sender, EventArgs e)
 {
     ComboForm addCombo = new ComboForm(db, null);
     if (addCombo.ShowDialog() == DialogResult.OK)
         dgvCombo_show();
 }
        //编辑套餐
        private void editTool_Click(object sender, EventArgs e)
        {
            if (dgvCombo.CurrentCell == null)
            {
                GeneralClass.printErrorMsg("没有选择行!");
                return;
            }

            int comboId = Convert.ToInt32(dgvCombo.CurrentRow.Cells[0].Value.ToString());
            ComboForm addCombo = new ComboForm(db, db.Combo.FirstOrDefault(x => x.id == comboId));
            if (addCombo.ShowDialog() == DialogResult.OK)
                dgvCombo_show();
        }