Пример #1
0
        /// <summary>
        /// Populates the question view with questions, based on the selected question file.
        /// </summary>
        /// <param name="questionFile">The currently open question file.</param>
        public void PopulateQuestionView(string questionFile)
        {
            _current = FileHandler.CreateQuestionsFromFile(questionFile);

            foreach (Question q in _current.Questions)
            {
                AddQuestionToView(q);
            }
        }