//添加
 private void btnAdd_Click(object sender, EventArgs e)
 {
     PromotionItemAddForm f = new PromotionItemAddForm(db, m_Promotion);
     if (f.ShowDialog() == DialogResult.OK)
     {
         m_Offer.Add(f.m_Offer, f.m_discoutType + "#" + f.m_discout.ToString());
         m_Promotion.menuIds = BathClass.assemble(m_Offer);
         dgv_show();
     }
 }
        //添加
        private void btnAdd_Click(object sender, EventArgs e)
        {
            PromotionItemAddForm f = new PromotionItemAddForm(db, m_Promotion);

            if (f.ShowDialog() == DialogResult.OK)
            {
                m_Offer.Add(f.m_Offer, f.m_discoutType + "#" + f.m_discout.ToString());
                m_Promotion.menuIds = BathClass.assemble(m_Offer);
                dgv_show();
            }
        }