Example #1
0
        private void TMP()
        {
            _contentManager.AddCourse("Serbian", "./Resources/Flag of Serbia.png");
            //_contentManager.EditCourse(1, null, "./Resources/Flag of Serbia.png");

            //_contentManager.AddEducationalLevel(Icons.Nursery, 2);
            _contentManager.AddEducationalLevel(1, "pack://application:,,,/Resources/nursery.jpg", EducationalLevelType.Nursery);
            //_contentManager.EditEducationalLevel(2, "./Resources/nursery.png", 0);
            //_contentManager.DeleteEducationalLevel(2, 1);

            _contentManager.AddGrade(2, "pack://application:,,,/Resources/nursery.jpg", GradeType.NurseryI);
            //_contentManager.EditGrade(3, "", GradeType.NurseryI);
            //_contentManager.DeleteGrade(3, 2);

            _contentManager.AddWeek(3, "Week 1", 1, 1);
            //_contentManager.EditWeek(4, "Week 1", 1, 1);
            //_contentManager.DeleteWeek(4, 3);

            _contentManager.AddLesson(4, "Lesson 1", 1);
            // _contentManager.EditLesson(5, "Lesson 1", 1);
            //_contentManager.DeleteLesson(5, 4);

            _contentManager.AddQuiz(5, "Quiz 1");
            //_contentManager.EditQuiz(6, "Quiz 1");
            //_contentManager.DeleteQuiz(6, 5);

            //_contentManager.AddQuestion(6, "How old are you?", "I am 24 years old.", QuestionType.Puzzle);
            //_contentManager.EditQuestion(7, "How old are you", "I am 24 years old.", QuestionType.Puzzle);
            //_contentManager.DeleteQuestion(7, 6);

            _contentManager.AddContentFile(5, ComponentType.Audio, "", "", "", 2, "HEHEHE");
            //_contentManager.EditContentFile(8, ComponentType.Audio, "", "", "", 2, "HEHEHE");
        }