コード例 #1
0
		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));
			}
			
		}
コード例 #2
0
        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));
            }
        }