private void button1_Click(object sender, EventArgs e) { try { ReporteEncuesta reporte = new ReporteEncuesta(); reporte.MdiParent = Sistema_Caritas.Bienvenida.ActiveForm; reporte.Show(); } catch { MessageBox.Show("Error al ver el documento", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void button1_Click(object sender, EventArgs e) { try { ReporteEncuesta reporte = new ReporteEncuesta(); reporte.MdiParent = Sistema_Caritas.Bienvenida.ActiveForm; reporte.Show(); } catch { MessageBox.Show("Error al ver el documento", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }