//会员打折 private void memberTool_Click(object sender, EventArgs e) { double money_pre = Convert.ToDouble(moneyPayable.Text); MemberPromotionOptionForm memberPromotionOptionForm = new MemberPromotionOptionForm(m_Seat); if (memberPromotionOptionForm.ShowDialog() != DialogResult.OK) { return; } m_promotion_Member = memberPromotionOptionForm.m_Member; double money = BathClass.get_seat_expense(m_Seat, LogIn.connectionString); moneyPayable.Text = money.ToString(); discount_money = money_pre - money; dgvExpense_show(); }
//会员打折 private void memberTool_Click(object sender, EventArgs e) { double money_pre = Convert.ToDouble(moneyPayable.Text); MemberPromotionOptionForm memberPromotionOptionForm = new MemberPromotionOptionForm(m_Seat); if (memberPromotionOptionForm.ShowDialog() != DialogResult.OK) return; m_promotion_Member = memberPromotionOptionForm.m_Member; double money = BathClass.get_seat_expense(m_Seat, LogIn.connectionString); moneyPayable.Text = money.ToString(); discount_money = money_pre - money; dgvExpense_show(); }