private void toolStripButton1_Click(object sender, EventArgs e)
 {
     if (dgSuscripciones.CurrentCell != null)
     {
         ClienteActual.Id_Suscripcion = System.Convert.ToInt32(dgSuscripciones.Rows[dgSuscripciones.CurrentCell.RowIndex].Cells[10].Value.ToString());
         ClienteActual.cantidad = System.Convert.ToInt32(dgSuscripciones.Rows[dgSuscripciones.CurrentCell.RowIndex].Cells[3].Value.ToString());
         ClienteActual.nro_contrato = dgSuscripciones.Rows[dgSuscripciones.CurrentCell.RowIndex].Cells[4].Value.ToString();
         if (ClienteActual.Id_Suscripcion != 0)
         {
             EstadosCuenta frm_EstadosCuenta = new EstadosCuenta();
             frm_EstadosCuenta.ShowDialog();
         }
     }
 }
Beispiel #2
0
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     if (dgSuscripciones.CurrentCell != null)
     {
         ClienteActual.Id_Suscripcion = System.Convert.ToInt32(dgSuscripciones.Rows[dgSuscripciones.CurrentCell.RowIndex].Cells[10].Value.ToString());
         ClienteActual.cantidad       = System.Convert.ToInt32(dgSuscripciones.Rows[dgSuscripciones.CurrentCell.RowIndex].Cells[3].Value.ToString());
         ClienteActual.nro_contrato   = dgSuscripciones.Rows[dgSuscripciones.CurrentCell.RowIndex].Cells[4].Value.ToString();
         if (ClienteActual.Id_Suscripcion != 0)
         {
             EstadosCuenta frm_EstadosCuenta = new EstadosCuenta();
             frm_EstadosCuenta.ShowDialog();
         }
     }
 }