public void SetFile(string filepath, SolutionItemTypes type) { switch (type) { case SolutionItemTypes.FlowChart: drawFlowChart(filepath); break; case SolutionItemTypes.ImplementationPlan: DrawImplementationPlan(filepath); break; } }
public SolutionTreeItem(SolutionItemTypes ItemType) { Items=new List<SolutionTreeItem>(); Type = ItemType; }