Example #1
0
        private void dgvCuentas_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            //int id;
            int     indice     = e.RowIndex;
            decimal num_cuenta = Convert.ToDecimal(dgvCuentas.Rows[indice].Cells["num_cuenta"].Value);

            tr = new Transferencias(usuario, num_cuenta);
            tr.txtImporte.Text   = importe.ToString();
            tr.cmbNroCuenta.Text = num_cuenta_origen.ToString();
            tr.habilitarTools();
            tr.Show();
            this.Close();
        }
Example #2
0
 private void dgvCuentas_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     //int id;
     int indice = e.RowIndex;
     decimal num_cuenta = Convert.ToDecimal(dgvCuentas.Rows[indice].Cells["num_cuenta"].Value);
     tr = new Transferencias(usuario,num_cuenta);
     tr.txtImporte.Text = importe.ToString();
     tr.cmbNroCuenta.Text = num_cuenta_origen.ToString();
     tr.habilitarTools();
     tr.Show();
     this.Close();
 }