示例#1
0
        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            glvscardnumber_full = dataGridView2["card_number_full", dataGridView2.CurrentCell.RowIndex].Value.ToString();
            glvsaccountnumber_full = dataGridView2["account_number_full", dataGridView2.CurrentCell.RowIndex].Value.ToString();
            if (glvsproducttype == "Debit")
            {
                Frm_Debit frm = new Frm_Debit();
                frm.ShowDialog();
            }
            else
            {
                Frm_Credit frm = new Frm_Credit();
                frm.ShowDialog();

            }
        }
示例#2
0
        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (glvsproducttype == "Debit")
            {
                Frm_Debit frm = new Frm_Debit();
                frm.ShowDialog();
            }
            else
            {
                Frm_Credit frm = new Frm_Credit();
                frm.ShowDialog();

            }
        }