private void BtnEnunciado2_Click(object sender, EventArgs e) { pnlEjercicios.Visible = false; Enunciado en = new Enunciado(4, "Se requiere un sistema para reservar habitaciones en un hotel.\nElabore el diagrama de clases para dicho sistema"); lblEnunciado.Visible = true; lblEnunciado.Text = en.EnunciadoTxt; pnlDibujar.Controls.Clear(); //this.pnlDibujar = fachada.EjecutarEnunciado2(ref pnlDibujar); }
private void BtnEnunciado4_Click(object sender, EventArgs e) { pnlEjercicios.Visible = false; lblEnunciado.Visible = true; Enunciado en = new Enunciado(4, "Se requiere un sistema para retirar dinero de un cajero.\nElabore el diagrama de clases para dicho sistema"); this.pnlDibujar.BackgroundImage = base.BackgroundImage; this.pnlDibujar.Controls.Clear(); //this.pnlDibujar = fachada.EjecutarEnunciado4(pnlDibujar); lblEnunciado.Text = en.EnunciadoTxt; }
private void BtnEnunciado5_Click(object sender, EventArgs e) { pnlEjercicios.Visible = false; this.pnlDibujar.Controls.Clear(); Enunciado en = new Enunciado(4, "Se requiere un sistema para reservar habitaciones en un hotel.\nElabore el diagrama de clases para dicho sistema"); lblEnunciado.Visible = true; lblEnunciado.Text = en.EnunciadoTxt; this.pnlDibujar.BackgroundImage = base.BackgroundImage; SubsistemaGr5 sgr5 = new SubsistemaGr5(); this.pnlDibujar = sgr5.EjecutarEnunciado(pnlDibujar); }