Carry out the following steps in order to complete this recipe:
- Add a new project in your solution in Visual Studio. Add a new class called BudgetModelTree with the following code snippet:
public class BudgetModelTree { FormTreeControl tree; BudgetModelId modelId; } public void new( FormTreeControl _formTreeControl, BudgetModelId _budgetModelId) { tree = _formTreeControl; modelId = _budgetModelId; } public static BudgetModelTree construct( FormTreeControl _formTreeControl, BudgetModelId _budgetModelId = '') { return new BudgetModelTree( _formTreeControl, _budgetModelId); } private TreeItemIdx createNode( TreeItemIdx _parentIdx, BudgetModelId _modelId, RecId _recId) { TreeItemIdx itemIdx; BudgetModel model; BudgetModel submodel; ...