Ejemplo n.º 1
0
 private void 导出文本ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     //var node = this.fullTree.Tag as ITreeNode;
     if (this.treeView1.Nodes.Count > 0)
     {
         var node = this.treeView1.Nodes[0].Tag as ITreeNode;
         if (node != null)
         {
             var text = node.DumpToText();
             var form = new FormText();
             form.textBox1.Text = text;
             form.Show();
         }
     }
 }
Ejemplo n.º 2
0
 private void 导出文本ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     //var node = this.fullTree.Tag as ITreeNode;
     if (this.treeView1.Nodes.Count > 0)
     {
         var node = this.treeView1.Nodes[0].Tag as ITreeNode;
         if (node != null)
         {
             var text = node.DumpToText();
             var form = new FormText();
             form.textBox1.Text = text;
             form.Show();
         }
     }
 }