private void btnView_Click(object sender, EventArgs e) { frmCashReceiptVoucherReport _frmCashReceiptVoucherReport = new frmCashReceiptVoucherReport(m_CustomerObject, m_CashReceiptVoucherExecute.getCashReceiptVoucherMaxIdFromDatabase(), _sotienthu, txtPaymentWord.Text); _frmCashReceiptVoucherReport.ShowDialog(); }
private void btnView_Click(object sender, EventArgs e) { frmCashReceiptVoucherReport _frmCashReceiptVoucherReport = new frmCashReceiptVoucherReport(m_CustomerObject, m_CashReceiptVoucherExecute.getCashReceiptVoucherMaxIdFromDatabase(), _sotienthu, txtPaymentWord.Text, _sotienno.ToString(), (spPayment.Value - spMoneyShouldPay.Value) > 0?spRemain.Value.ToString():"0"); _frmCashReceiptVoucherReport.ShowDialog(); }