private void btnExcel_Click(object sender, EventArgs e)
 {
     pr.exportarexcel(dgvRegistro);
 }