using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;namespace 树的实现
{public partial class Form1 : Form{public Form1(){InitializeComponent();}//构造一个双亲法表示树的类public class aTree{public int ID, pID;public string sNode;public aTree(){ID = pID = -1;sNode = "";}}//将双亲法表示的树转换为TreeNode类型public void cTree(TreeNode pT,aTr