private void showOptionWindow()
        {
            this.insertionBlock.Clear();
            this.fillInsertionBlock();
            AddCostumePiece acp = new AddCostumePiece();

            showOptionWin.Checked = !acp.showOptionWindow(fileName, ref insertionBlock);
            acp.Dispose();
        }
        public void editCostume_Piece(System.Windows.Forms.TreeNode tn,
                                      System.Windows.Forms.TreeView tv,
                                      System.Windows.Forms.TreeNodeMouseClickEventHandler tNmouseClickEH)
        {
            AddCostumePiece acp = new AddCostumePiece(this.filePath, ref this.fileContent, tn, 0, true, false);

            if (acp.showAddWindow())
            {
                buildTree(tv, tNmouseClickEH);
            }
            acp.Dispose();
        }
        public void pasteCostume_Piece(System.Windows.Forms.TreeNode copySource,
                                       System.Windows.Forms.TreeNode tn,
                                       System.Windows.Forms.TreeView tv,
                                       System.Windows.Forms.TreeNodeMouseClickEventHandler tNmouseClickEH)
        {
            GeoPiece srcGP   = (GeoPiece)copySource.Tag;
            int      len     = srcGP.getLastIndex() - srcGP.getStartIndex();
            int      start   = ((GeoPiece)tn.Tag).getStartIndex();
            int      lastInd = start + len;

            GeoPiece gp = (GeoPiece)srcGP.Clone(start, lastInd);

            System.Windows.Forms.TreeNode ctn = (System.Windows.Forms.TreeNode)copySource.Clone();
            ctn.Tag = gp;

            AddCostumePiece acp = new AddCostumePiece(this.filePath, ref this.fileContent, ctn, 0, false, true);

            if (acp.showAddWindow())
            {
                buildTree(tv, tNmouseClickEH);
            }
            acp.Dispose();
        }