Example #1
0
		private void LoadPreset(XmlNode nodes)
		{
			foreach (XmlNode node in nodes.ChildNodes)
			{
				if (node.Name != "preset" || node.ChildNodes.Count == 0)
					continue;

				var p = new Preset(node.Attributes["name"].Value, node);
				//LoadNodes(node,p.Nodes);
				_manager.Presets.AddPreset(p);
			}
		}
Example #2
0
		internal void AddPreset(Preset p)
		{
			//presets.Add(p.Name,p);
			presets[p.Name] = p;
		}