private void btTransaction_Click(object sender, EventArgs e)
        {

          
            //Load grid
            if (accountnbr != "")
            {
               
                    //Debit
                Frm_Transaction_Debit b = new Frm_Transaction_Debit();
                b.glvsinaccount = accountnbr;
                b.glvsincard = cardnbr;
                //b.name = tbCardname.Text;
                b.glvscardtype = tbcard_status.Text;
                b.ShowDialog();
                
                
            }
        }
 private void btTransaction_Click ( object sender, EventArgs e )
 {
     int kt = LoadInfo ( cardnbr );
     //Load grid
     //if (tb_accountnumber.Text.Trim ( ) != "")
     //{
         //kiem tra la the Credit hay Prepaid
         if (kt == 0)
         {
             //prepaid
             Frm_Transaction_Debit a = new Frm_Transaction_Debit ( );
             a.glvsincard = cardnbr;
             a.glvsinaccount = accnbr;
             a.ShowDialog ( );
         }
         else if (kt == 1)
         {
             //Credit
             //Frm_Transaction_Credit b = new Frm_Transaction_Credit();
             //b.Txt_cardnumber.Text = tb_cardnumber.Text.Trim();
             //b.ShowDialog();
         }
     //}
 }