private void button2_Click(object sender, EventArgs e)
 {
     int kt = LoadInfo(tb_cardnumber.Text.Replace(" ", ""));
     //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.tb_cardnumber.Text = tb_cardnumber.Text.Trim();
             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();
         }
     }
 }
예제 #2
0
 private void button4_Click(object sender, EventArgs e)
 {
     Frm_Transaction_Debit.glvsincard = glvscard;
     Frm_Transaction_Debit.glvsinaccount = glvsaccount;
     Frm_Transaction_Debit frm = new Frm_Transaction_Debit();
     frm.ShowDialog();
 }
예제 #3
0
 private void transactionDebitToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Frm_Transaction_Debit frm = new Frm_Transaction_Debit();
     frm.ShowDialog();
 }