private void evaluar_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(utilizaconocimiento.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(lenguajecomunicacion.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(escribenombre.Text)) { MessageBox.Show("Debe completar la informacion"); return; } Utiliza = Convert.ToInt16(utilizaconocimiento.Text); Lenguaje = Convert.ToInt16(lenguajecomunicacion.Text); Escribe = Convert.ToInt16(escribenombre.Text); MySqlConnection cn; try { cn = new MySqlConnection("server=127.0.0.1; port=3305; database=JardinBonifacioDiaz; Uid=root; pwd=root;"); evalualenguajeycomunicacion(Utiliza, Lenguaje, Escribe); BoletaDeLenguajeComunicacion pAlumno = new BoletaDeLenguajeComunicacion(); pAlumno.Nombre = lblNomAl.Text.Trim(); pAlumno.GradoyGrupo = lblGradGrup.Text.Trim(); pAlumno.Esperado = lblesperado.Text.Trim(); pAlumno.Desarrollo = lbldesarrollo.Text.Trim(); pAlumno.RequiereApoyo = lblrequiereapoyo.Text.Trim(); pAlumno.Resultado = nv.Text.Trim(); int resultado = BoletaDeLenguajeComunicacionABC.Agregar(pAlumno); if (resultado > 0) { MessageBox.Show("Alumno Evaluado Con Exito!!", "Guardado", MessageBoxButtons.OK, MessageBoxIcon.Information); this.limpiar(); } else { MessageBox.Show("No se pudo evaluar el alumno", "Fallo!!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } MenuEval menu = new MenuEval(nombreAl, gradGrup, id); menu.Show(); this.Hide(); } catch (Exception ex) { MessageBox.Show("ocurrio un error" + ex.Message); } }
private void evalua_Click(object sender, EventArgs e) { if (dataGridView1.SelectedRows.Count == 1) { int id = Convert.ToInt32(dataGridView1.CurrentRow.Cells[0].Value); AlumnoSeleccionado = AlumnoABC.ObtenerAlumno(id); string nombreAl, gradGrup; nombreAl = AlumnoSeleccionado.Nombre + " " + AlumnoSeleccionado.ApellidoPaterno + " " + AlumnoSeleccionado.ApellidoMaterno; gradGrup = AlumnoSeleccionado.GradoyGrupo; MenuEval forma = new MenuEval(nombreAl, gradGrup, id); forma.Show(); this.Hide(); } else { MessageBox.Show("Seleccione un alumno para evaluar"); } }
private void evaluaralumno_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(pcuerpo.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(cangrejo.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(reptar.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(salticar.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(sltarunpie.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(saltar2pies.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(lanzarcachar.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(botar.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(equilibrio.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(adelante.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(atras.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(derecha.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(izquierda.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(lejos.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(cerca.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(arribade.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(abajode.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(ritmo.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(cordinamtv.Text)) { MessageBox.Show("Debe completar la informacion"); return; } Partecuerpo = Convert.ToInt16(pcuerpo.Text); Cangrejo = Convert.ToInt16(cangrejo.Text); Reptar = Convert.ToInt16(reptar.Text); Salticar = Convert.ToInt16(salticar.Text); Saltarunpie = Convert.ToInt16(sltarunpie.Text); Saltardospies = Convert.ToInt16(saltar2pies.Text); Lanzarcachar = Convert.ToInt16(lanzarcachar.Text); Botar = Convert.ToInt16(botar.Text); Equilibrio = Convert.ToInt16(equilibrio.Text); Adelante = Convert.ToInt16(adelante.Text); Atras = Convert.ToInt16(atras.Text); Derecha = Convert.ToInt16(derecha.Text); Izquierda = Convert.ToInt16(izquierda.Text); Lejos = Convert.ToInt16(lejos.Text); Cerca = Convert.ToInt16(cerca.Text); Arribade = Convert.ToInt16(arribade.Text); Abajode = Convert.ToInt16(abajode.Text); Ritmo = Convert.ToInt16(ritmo.Text); Coordinafuervelequi = Convert.ToInt16(cordinamtv.Text); MySqlConnection cn; try { cn = new MySqlConnection("server=127.0.0.1; port=3305; database=JardinBonifacioDiaz; Uid=root; pwd=root;"); evaluadesarrollofisico(Partecuerpo, Cangrejo, Reptar, Salticar, Saltarunpie, Saltardospies, Lanzarcachar, Botar, Equilibrio, Adelante, Atras, Derecha, Izquierda, Lejos, Cerca, Arribade, Abajode, Ritmo, Coordinafuervelequi); BoletaDeEducacionFisica pAlumno = new BoletaDeEducacionFisica(); pAlumno.Nombre = lblNomAl.Text.Trim(); pAlumno.GradoyGrupo = lblGradGrup.Text.Trim(); pAlumno.Esperado = lblesperado.Text.Trim(); pAlumno.Desarrollo = lbldesarrollo.Text.Trim(); pAlumno.RequiereApoyo = lblrequiereapoyo.Text.Trim(); pAlumno.Resultado = nivel.Text.Trim(); int resultado = BoletaDeEducacionFisicaABC.Agregar(pAlumno); if (resultado > 0) { MessageBox.Show("Alumno Guardado Con Exito!!", "Guardado", MessageBoxButtons.OK, MessageBoxIcon.Information); this.limpiar(); } else { MessageBox.Show("No se pudo guardar el alumno", "Fallo!!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } } catch (Exception ex) { MessageBox.Show("ocurrio un error" + ex.Message); } MenuEval menu = new MenuEval(nombreAl, gradGrup, id); menu.Show(); this.Hide(); }
private void EvalPenMat_FormClosed(object sender, FormClosedEventArgs e) { MenuEval forma = new MenuEval(nombreAl, gradGrup, id); forma.Show(); }
private void evaluar_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(identielemen.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(estrategias.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(nombranum.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(utilizaobjsimbnum.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(procesos.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(comprendeprobl.Text)) { MessageBox.Show("Debe completar la informacion"); return; } if (string.IsNullOrEmpty(explicaprob.Text)) { MessageBox.Show("Debe completar la informacion"); return; } Identifica = Convert.ToInt16(identielemen.Text); Estrategia = Convert.ToInt16(estrategias.Text); Nombrarnum = Convert.ToInt16(nombranum.Text); Usaobjsimbnum = Convert.ToInt16(utilizaobjsimbnum.Text); Proceso = Convert.ToInt16(procesos.Text); Comprendeprob = Convert.ToInt16(comprendeprobl.Text); Explicaprob = Convert.ToInt16(explicaprob.Text); MySqlConnection cn; try { cn = new MySqlConnection("server=127.0.0.1; port=3305; database=JardinBonifacioDiaz; Uid=root; pwd=root;"); evaluapensamientomatematico(Identifica, Estrategia, Nombrarnum, Usaobjsimbnum, Proceso, Comprendeprob, Explicaprob); BoletaDePensamientoMatematico pPensamientoMatematico = new BoletaDePensamientoMatematico(); pPensamientoMatematico.Nombre = lblNomAl.Text.Trim(); pPensamientoMatematico.GradoyGrupo = lblGradGrup.Text.Trim(); pPensamientoMatematico.Esperado = lblesperado.Text.Trim(); pPensamientoMatematico.Desarrollo = lbldesarrollo.Text.Trim(); pPensamientoMatematico.RequiereApoyo = lblrequiereapoyo.Text.Trim(); pPensamientoMatematico.Resultado = nivel.Text.Trim(); int resultado = BoletaDePensamientoMatematicoABC.Agregar(pPensamientoMatematico); if (resultado > 0) { MessageBox.Show("Alumno Evaluado Con Exito!!", "Guardado", MessageBoxButtons.OK, MessageBoxIcon.Information); this.limpiar(); } else { MessageBox.Show("No se pudo evaluar el alumno", "Fallo!!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } } catch (Exception ex) { MessageBox.Show("ocurrio un error" + ex.Message); } MenuEval menu = new MenuEval(nombreAl, gradGrup, id); menu.Show(); this.Hide(); }
private void Evaluacion_Lenguaje_Comunicacion_FormClosed(object sender, FormClosedEventArgs e) { MenuEval forma = new MenuEval(nombreAl, gradGrup, id); forma.Show(); }