private void tsmiReportePlanes_Click(object sender, EventArgs e) { ReportePlanes form = new ReportePlanes(); form.MdiParent = this; form.Show(); }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { ReportePlanes rpt = new ReportePlanes(); rpt.Site = this.Site; return(rpt); }
private void reporteDePlanesToolStripMenuItem_Click(object sender, EventArgs e) { ReportePlanes formreportePlanes = new ReportePlanes(); formreportePlanes.ShowDialog(); }
private void btnAceptar_Click(object sender, EventArgs e) { if (Validar()) { if (Tipo == "Curso") { Reporte reporte = new Reporte(); reporte.IDCurso = listcursos[cmbIDCurso.SelectedIndex].ID; reporte.IDDocente = listprofesores[cmbIDProfesor.SelectedIndex].ID; reporte.IDPlan = listplanes[cmbIDPlan.SelectedIndex].ID; reporte.IDEspecialidad = listplanes[cmbIDPlan.SelectedIndex].IDEspecialidad; reporte.IDComision = listcursos[cmbIDCurso.SelectedIndex].IDComision; reporte.IDMateria = listcursos[cmbIDCurso.SelectedIndex].IDMateria; ReporteCursos rep = new ReporteCursos(reporte); rep.Show(); } else { Reporte reporte = new Reporte(); reporte.IDPlan = listplanes[cmbIDPlan.SelectedIndex].ID; reporte.IDEspecialidad = listplanes[cmbIDPlan.SelectedIndex].IDEspecialidad; ReportePlanes rep = new ReportePlanes(reporte); rep.Show(); } } }