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()); } }
public TaskModel() { ParserXml parserXml = new ParserXml(); listQuestions = parser.OpenFileFromXml("Tasks.xml"); }