private void A(W1 <p1> w, TreeNode treeNode, h <p1> h) { p1 p = this.A(treeNode, false); if (p == null) { return; } if (h == null) { h = new h <p1>(); } h.Add(p); foreach (p1 current in w) { if (!h.Contains(current)) { Q1 q = current as Q1; if (q != null && q.A(p.b())) { TreeNode treeNode2 = new J2 <p1>(q); treeNode2.ImageIndex = this.A.ImageIndex + 8; treeNode2.SelectedImageIndex = this.A.SelectedImageIndex + 8; treeNode.Nodes.Add(treeNode2); this.A(w, treeNode2, h); } } } }
private void A(p1 p, int index) { h2 h = this.A(p); TreeNode treeNode = this.A[h]; J2 <p1> j = new J2 <p1>(p); this.A.Add(p, j); treeNode.Nodes.Insert(index, j); int num = h.e() ? 6 : 2; j.ImageIndex = this.A.ImageIndex + num; j.SelectedImageIndex = this.A.SelectedImageIndex + num; this.B(); }
private void A(h2 h, int num) { J2 <h2> j = new J2 <h2>(h); this.A.Add(h, j); if (h.e()) { int i; for (i = 0; i < this.A.Nodes.Count; i++) { J2 <h2> j2 = this.A.Nodes[i] as J2 <h2>; if (!j2.A().e()) { break; } } this.A.Nodes.Insert(i, j); j.ImageIndex = this.A.ImageIndex + 4; j.SelectedImageIndex = this.A.SelectedImageIndex + 4; } else { this.A.Nodes.Add(j); j.ImageIndex = this.A.ImageIndex; j.SelectedImageIndex = this.A.SelectedImageIndex; } h.E().B(new W1 <p1> .B(this.A)); h.E().E(new W1 <p1> .a(this.a)); int num2 = 0; foreach (p1 current in h.E()) { this.A(current, num2++); } j.Expand(); this.B(); }