Esempio n. 1
0
        private void btnFinalPayment_Click(object sender, EventArgs e)
        {
            this.FinalPayment = 0;
            ReCalc();

            frmFinalPayment fPayment = new frmFinalPayment(decimal.Parse(lblFinalSum.Text));
            fPayment.ShowDialog();
            this.FinalPayment = (decimal)fPayment.Payment;
            ReCalc();
        }
Esempio n. 2
0
 private void btnFinalPayment_Click(object sender, EventArgs e)
 {
     tmr.Stop();
     this.order.FinalPayment = 0;
     ReCalcOrder();
     frmFinalPayment fPayment = new frmFinalPayment(decimal.Parse(lblOrderSumFinal.Text));
     fPayment.ShowDialog();
     this.order.FinalPayment = fPayment.Payment;
     ReCalcOrder();
     tmr.Start();
 }
Esempio n. 3
0
 private void btnFinalPayment_Click(object sender, EventArgs e)
 {
     tmr.Stop();
     this.order.FinalPayment = 0;
     ReCalcOrder();
     frmFinalPayment fPayment = new frmFinalPayment(decimal.Parse(lblOrderSumFinal.Text));
     if ((order.Orderno.Substring(0, 1) == prop.Order_terminal_prefics.Substring(0, 1)) ||
         (order.Orderno.Substring(0, 1) == prop.OrderPixlPark.Substring(0, 1)))
         fPayment.size = 0;
     fPayment.ShowDialog();
     this.order.FinalPayment = fPayment.Payment;
     if (order.FinalPayment > 0)
         AddedFinalPayment = true;
     else
         AddedFinalPayment = false;
     ReBild();
     tmr.Start();
 }