Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 /// <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();
     }
 }
Exemplo n.º 3
0
 public AddAttribute(FrmItem frmItem)
 {
     InitializeComponent();
     this.frmItem = frmItem;
 }