public CatFaultParentNode CreateChildNodes() { CatFaultParentNode node = new CatFaultParentNode(); node.Text = "监测类型"; this.Nodes.Add(node); return node; }
public CatProjectNode(string name) : base(name) { this.Text = name; _faultParentNode = this.CreateChildNodes(); _faultParentNode.CreateChildNodes(); this.ExpandAll(); this.ImageKey = "project"; this.SelectedImageKey = "project"; // _ascNode = new TreeNode(); this.Nodes.Add(_ascNode); _ascNode.Text = "ASC文件"; }