private void button4_Click(object sender, EventArgs e) { try { ReporteEntradaSeleccionada rptentselect = new ReporteEntradaSeleccionada(Int64.Parse(dataGridView1.SelectedRows[0].Cells[0].Value.ToString())); rptentselect.MdiParent = Bienvenida.ActiveForm; rptentselect.Show(); } catch { MessageBox.Show("No hay ninguna entrada por seleccionar"); } }