private void btn_transaction_Click(object sender, EventArgs e)
        {
            Frm_Transaction_Credit a = new Frm_Transaction_Credit();
            a.Txt_cardnumber.Text = this.tb_cardnumber.Text;

            // --- Phong 20/12/2012
            a.bill_total_debit_amt = this.tbClosingBal.Text;
            a.unbill_total_debit_amt = this.tbTotalOS.Text;
            a.curr_auth = this.tbCurrentAuthAmt.Text;
            // --- End Phong 20/12/2012

            a.ShowDialog();
        }
        private void btn_transaction_Click(object sender, EventArgs e)
        {
            Frm_Transaction_Credit a = new Frm_Transaction_Credit();
            a.Txt_cardnumber.Text = this.tb_cardnumber.Text;
            if (Frm_main.admin_flag)
                a.Txt_cardnumber_new.Text = this.tb_cardnumber.Text;
            else
                a.Txt_cardnumber_new.Text = this.tb_cardnumber.Text.Substring(0, 4) + "xxxxxxxx" + this.tb_cardnumber.Text.Substring(12);

            // --- Phong 20/12/2012
            a.bill_total_debit_amt = this.tbClosingBal.Text;
            a.unbill_total_debit_amt = this.tbTotalOS.Text;
            a.curr_auth = this.tbCurrentAuthAmt.Text;
            // --- End Phong 20/12/2012

            a.ShowDialog();
        }