private void buildGraph(TreeNode pParentTreeNode, SceneNode pParentSceneNode) { for (int i = 0; i < pParentSceneNode.Children.Count; i++) { SceneNode current = pParentSceneNode.Children[i]; TreeNode currentNode = new TreeNode(current.Id); currentNode.ContextMenuStrip = this._ctxMenuNodes; pParentTreeNode.Nodes.Add(currentNode); this.buildGraph(currentNode, current); } }
private void _cmbListTypes_TextChanged(object sender, EventArgs e) { this._createdNode = AddonManager.GetInstance().CreateInstance(this._cmbListTypes.Text); this._currentProps.SelectedObject = this._createdNode; }