public void LoadColor(XmlDocument xmlDoc, ColorConfigData configData) { List<DrawProperty> drawPropertyList = GetDrawPropertyList(xmlDoc, "EnvColorItem"); if (drawPropertyList.Count > 0) { configData.UpdateDrawPropertyList(drawPropertyList); } }
private void LoadColor(XmlDocument xmlDoc, ColorConfigData configData) { XmlOldColor xmlColor = new XmlOldColor(); xmlColor.LoadConfig(xmlDoc); if (xmlColor.DrawPropertyList.Count > 0) { configData.UpdateDrawPropertyList(xmlColor.DrawPropertyList); } }