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; }
/// <summary> /// News the item XMLT form. /// </summary> /// Created by khoaht at 9:10 AM on 11/25/2011 private void NewItemXMLTForm(FormMode mode) { if (this.Controls.Find("FrmItem", true).Length == 0) { var newItem = new FrmItem(mode, xsltFile); newItem.MdiParent = this; newItem.Show(); } }
public AddAttribute(FrmItem frmItem) { InitializeComponent(); this.frmItem = frmItem; }