/// <summary> /// Initializes a new instance of the <see cref="LinkTree"/> class. /// </summary> /// <param name="mover">The mover.</param> /// <param name="src">The SRC.</param> /// <param name="tar">The tar.</param> public LinkTree(Mover mover, LinkedTreeview src, LinkedTreeview tar) { this.mover = mover; this.tvLinkedTar = tar; this.tvLinkedSrc = src; lstLinkedNodes = new List<LinkNode>(); }
public FrmItem(FormMode mode, string filename) { InitializeComponent(); mover = new Mover(this); tvLinkedSrc = new LinkedTreeview(tvSourceXML, true, NODESIZE, FRAMESIZE); tvLinkedDes = new LinkedTreeview(tvTargetXML, true, NODESIZE, FRAMESIZE); linkTrees = new LinkTree(mover, tvLinkedSrc, tvLinkedDes); moverOnTab = new Mover(tabFunclet); Funclet.FormParent = this; this.mode = mode; this.fileXSLTSavePath = filename; tvSourceXML.OnScrollBarChanged += new EVincaTree.OnScrollEventHandler(tvSourceXML_OnScrollBarChanged); tvTargetXML.OnScrollBarChanged += new EVincaTree.OnScrollEventHandler(tvTargetXML_OnScrollBarChanged); Instance = this; }