private void button1_Click_2(object sender, EventArgs e)
 {
     GenerarInforme gi = new GenerarInforme(dataGridViewCliente.SelectedRows[0].Cells[0].Value.ToString());
     gi.Owner = this;
     gi.Deactivate += new EventHandler(Grid_Load);
     gi.Show();
 }
 private void buttonGenerarInforme_Click(object sender, EventArgs e)
 {
     ClienteCEN cliente = new ClienteCEN();
     GenerarInforme gi = new GenerarInforme(cliente.ObtenerCliente(textBoxNIF.Text)) { Owner = this };
     gi.Show();
 }