Esempio n. 1
0
        private void bActividades_Click(object sender, EventArgs e)
        {
            Actividades ventana = new Actividades();

            this.Visible = false;
            ventana.ShowDialog();
            this.Close();
        }
Esempio n. 2
0
        private void bAbandonar_Click(object sender, EventArgs e)
        {
            BD.Delete("delete from Inscripcion i where i.nombreUsuario = '" + Usuario.getInstance().usuario + "' and i.idActividad = " + actividad.id);

            Actividades ventana = new Actividades();

            this.Visible = false;
            ventana.ShowDialog();
            this.Close();
        }
Esempio n. 3
0
        private void bActividades_Click(object sender, EventArgs e)
        {
            Actividades ventana = new Actividades();

            this.Visible = false;
            ventana.ShowDialog();
            this.Visible = true;

            cargarForos();
            cargarNoticias();
        }
Esempio n. 4
0
        private void bActividades_Click(object sender, EventArgs e)
        {
            DialogResult result = MessageBox.Show("¿Seguro que quiere abandonar el cuestionario?", "Confirmación", MessageBoxButtons.YesNo);

            if (result == DialogResult.Yes)
            {
                Actividades ventana = new Actividades();
                this.Visible = false;
                ventana.ShowDialog();
                this.Close();
            }
        }