public CourseRoot() { var inConceptParent = new InConceptParent { Text = "Входы" }; Nodes.Add(inConceptParent); ImageIndex = SelectedImageIndex = 0; }
private void InitializeModule() { InConceptParent = new InConceptParent { Text = "Входы" }; OutConceptParent = new OutConceptParent { Text = "Выходы" }; Nodes.Add(InConceptParent); Nodes.Add(OutConceptParent); ImageIndex = SelectedImageIndex = 1; XmlWriter = new TrainingModuleXmlWriter(this); XmlReader = new TrainingModuleXmlReader(this); }
private static bool IsConceptOccurrence(InConceptParent icp, Guid id) { foreach (var c in icp.InDummyConcepts) { if (c.Concept.Id == id) { return true; } } return false; }