I need to have 7 nodes and inside each nearly 30-40 child nodes. Each child-node need to have a 'function body' of it's own, like we can have for a normal single checkbox while working in Form1 in C#. so that I can have freedom to assign it unique task (like fetching unique data, string concatenation and also parsing values to another function). I need to have access to each checkbox basically. What so far I tried after creating treelist was (showing just few lines for simplicity): treeView1.Nodes.Add("Session"); treeView1.Nodes.Add("Reset");
treeView1.Nodes[0].Nodes.Add("Extended Start");
treeView1.Nodes[1].Nodes.Add("Hard Reset");
treeView1.Nodes[2].Nodes.Add("EOL Mode State Read");
treeView1.Nodes[2].Nodes.Add("Current Err Tracer Read");
treeView1.Nodes[2].Nodes.Add("Read Odometer value from Bus Read");
This generates treeview GUI like I need but accessing checkboxes is my main question!
Aucun commentaire:
Enregistrer un commentaire