private void btnNuevo_Click(object sender, EventArgs e)
        {
            GestionCursos cu = new GestionCursos();

            cu.TipoGestion = "alta";
            cu.Show();
        }
        private void btnEditar_Click(object sender, EventArgs e)
        {
            GestionCursos cu = new GestionCursos();

            cu.CursoFrm.idCursos = (int)dataGridCurso.CurrentRow.Cells["Id"].Value;
            cu.TipoGestion       = "modi";
            cu.Show();
        }