private void reporte_listado_persona_estado(reporte_doc_int_listado_persona_estado frm)
        {
            frm.CreateDocument();
            Form_reportes Form_reportes1 = new Form_reportes();

            Form_reportes1.printBarManager1.PrintControl.PrintingSystem = frm.PrintingSystem;
            Form_reportes1.ShowDialog();
        }
 private void button2_Click(object sender, EventArgs e)
 {
     try
     {
         int id_estado = Convert.ToInt32(gridView1.GetFocusedRowCellValue("id_estado").ToString());
         reporte_doc_int_listado_persona_estado reporte1 = new reporte_doc_int_listado_persona_estado(id_estado);
         reporte_listado_persona_estado(reporte1);
     }
     catch { MessageBox.Show("No existen Alumnos en este Estado.", "Error al generar reporte", MessageBoxButtons.OK, MessageBoxIcon.Information); }
 }
 private void reporte_listado_persona_estado(reporte_doc_int_listado_persona_estado frm)
 {
     frm.CreateDocument();
     Form_reportes Form_reportes1 = new Form_reportes();
     Form_reportes1.printBarManager1.PrintControl.PrintingSystem = frm.PrintingSystem;
     Form_reportes1.ShowDialog();
 }
 private void button2_Click(object sender, EventArgs e)
 {
     try
       {
     int id_estado = Convert.ToInt32(gridView1.GetFocusedRowCellValue("id_estado").ToString());
     reporte_doc_int_listado_persona_estado reporte1 = new reporte_doc_int_listado_persona_estado(id_estado);
     reporte_listado_persona_estado(reporte1);
       }
      catch { MessageBox.Show("No existen Alumnos en este Estado.", "Error al generar reporte", MessageBoxButtons.OK, MessageBoxIcon.Information); }
 }