public RuleSetsNode(XmlElement el)
		{
			Text = ResNodeName("RuleSets");
			
			panel = new RuleSetsOptionPanel(this);
			if (el == null) return;

			XmlNodeList nodes = el.GetElementsByTagName("RuleSet");
			
			foreach (XmlElement element in nodes) {
				Nodes.Add(new RuleSetNode(element));
			}
			
		}
示例#2
0
        public RuleSetsNode(XmlElement el)
        {
            Text = ResNodeName("RuleSets");

            panel = new RuleSetsOptionPanel(this);
            if (el == null)
            {
                return;
            }

            XmlNodeList nodes = el.GetElementsByTagName("RuleSet");

            foreach (XmlElement element in nodes)
            {
                Nodes.Add(new RuleSetNode(element));
            }
        }