예제 #1
0
파일: frmStep2a.cs 프로젝트: slagovskiy/psa
        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();
        }
예제 #2
0
파일: frmOrder.cs 프로젝트: slagovskiy/psa
 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();
 }
예제 #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();
 }