/// <summary> /// Used to load designed Template - need to provide ID of the template /// </summary> private void loadDesignedTemplate() { xmlInteractionClass = new clsXmlInteraction(templateId); xmlInteractionClass.loadDesignedTemplate(listViewDesignBgClass); objectCollection = new clsObjects(); objectCollection = xmlInteractionClass.objectCollection; foreach (clsObject cO in objectCollection) { Grid grid = (Grid)cO.controlObject; listViewDesign.Items.Add(grid); } }
public clsXmlInteraction(Guid templateId) { this.templateId = templateId.ToString(); controlCreator = new createControl(); objectCollection = new clsObjects(); }