private void dgEjecutivos_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (dgEjecutivos.CurrentCell != null)
     {
         EjecutivoActual.clave = dgEjecutivos.Rows[dgEjecutivos.CurrentCell.RowIndex].Cells[3].Value.ToString();
         EjecutivoActual.nombre = dgEjecutivos.Rows[dgEjecutivos.CurrentCell.RowIndex].Cells[0].Value.ToString();
         EjecutivoActual.email = dgEjecutivos.Rows[dgEjecutivos.CurrentCell.RowIndex].Cells[1].Value.ToString();
         frmEmails frm_frmEmails = new frmEmails();
         frm_frmEmails.ShowDialog();
     }
 }
Beispiel #2
0
 private void cmdEnvioPassword_Click(object sender, EventArgs e)
 {
     if (dgEjecutivos.CurrentCell != null)
     {
         EjecutivoActual.clave  = dgEjecutivos.Rows[dgEjecutivos.CurrentCell.RowIndex].Cells[3].Value.ToString();
         EjecutivoActual.nombre = dgEjecutivos.Rows[dgEjecutivos.CurrentCell.RowIndex].Cells[0].Value.ToString();
         EjecutivoActual.email  = dgEjecutivos.Rows[dgEjecutivos.CurrentCell.RowIndex].Cells[1].Value.ToString();
         frmEmails frm_frmEmails = new frmEmails();
         frm_frmEmails.ShowDialog();
     }
 }