private LinkedTreeView createBaseTree() { var tree = new LinkedTreeView(this); tree.BorderStyle = BorderStyle.None; tree.Width = Screen.PrimaryScreen.Bounds.Width / 7; tree.AfterCollapse += new TreeViewEventHandler(this.updateTrees); tree.AfterExpand += new TreeViewEventHandler(this.updateTrees); tree.HideSelection = false; this.Controls.Add(tree); return(tree); }
public LinkedTreeView LinkTo(LinkedTreeView otherTree) { this.otherTree = otherTree; this.otherTree.otherTree = this; return(this); }