예제 #1
0
        public TaskModel()
        {
            FileDialog file = new FileDialog("d:\\Projects\\C#\\Idoctor\\Idoctor\\", "xml");

            if (true == file.OpenFileStudents())
            {
                ParserXml parserXml = new ParserXml();
                listQuestions = parser.OpenFileFromXml(file.GetFileName());
            }
        }
예제 #2
0
        public TaskModel()
        {
            ParserXml parserXml = new ParserXml();

            listQuestions = parser.OpenFileFromXml("Tasks.xml");
        }