public MarkersNode(XmlElement el, bool prev) { Text = ResNodeName(prev ? "MarkPreviousWord" : "MarkNextWord"); panel = new MarkersOptionPanel(this, prev); if (el == null) return; XmlNodeList nodes = el.GetElementsByTagName(prev ? "MarkPrevious" : "MarkFollowing"); foreach (XmlElement el2 in nodes) { Nodes.Add(new MarkerNode(el2, prev)); } }
public MarkersNode(XmlElement el, bool prev) { Text = ResNodeName(prev ? "MarkPreviousWord" : "MarkNextWord"); panel = new MarkersOptionPanel(this, prev); if (el == null) { return; } XmlNodeList nodes = el.GetElementsByTagName(prev ? "MarkPrevious" : "MarkFollowing"); foreach (XmlElement el2 in nodes) { Nodes.Add(new MarkerNode(el2, prev)); } }