private void bCrear_Click(object sender, EventArgs e) { if (seleccionado == 0) { fCrearActividadAdmin acti = new fCrearActividadAdmin(user); this.Hide(); acti.ShowDialog(); this.actividadTableAdapter.Fill(this.apsgrupo02DataSet.Actividad); this.Close(); } else if (seleccionado == 1) { fCrearCursoAdmin curso = new fCrearCursoAdmin(user); this.Hide(); curso.ShowDialog(); this.cursoTableAdapter.Fill(this.apsgrupo02DataSet.Curso); this.Close(); } else if (seleccionado == 3) { fNuevoDebateForo foro = new fNuevoDebateForo(user); this.Hide(); foro.ShowDialog(); this.debateTableAdapter1.Fill(this.apsgrupo02DataSet1.Debate); this.Close(); } }
private void bCrearCurso_Click(object sender, EventArgs e) { fCrearCursoAdmin curso = new fCrearCursoAdmin(admin); this.Visible = false; curso.ShowDialog(); this.Visible = true; }
private void bCrearCurso_Click(object sender, EventArgs e) { fCrearCursoAdmin curso = new fCrearCursoAdmin(user); this.Hide(); curso.ShowDialog(); this.Close(); }
private void bCrearCurso_Click(object sender, EventArgs e) { fCrearCursoAdmin crearCurso = new fCrearCursoAdmin(profesor); this.Hide(); crearCurso.ShowDialog(); this.Close(); cargaGrid(); }