public TreeNodeExParent(TreeViewEx view) { IsNode = false; Node = null; TreeView = view; }
private void RemoveRecurse() { // Remove children. // FIXME: why? /*for (int i = 0; i < childCount; i++) { children[i].RemoveRecurse(); }*/ // Remove out of parent's children. for (int i = index; i < parent.childCount - 1; i++) { TreeNodeEx node = parent.children[i + 1]; node.index = i; parent.children[i] = node; } parent.childCount--; parent = null; treeView = null; }
internal TreeNodeEx(TreeViewEx treeView) : this() { this.treeView = treeView; }
// Not used in this implementation public static TreeNodeEx FromHandle(TreeViewEx tree, IntPtr handle) { return null; }