树节点效果
属性:Nodes(节点)
事件:AfterSelect(双击TreeView控件转到)
private void treeView1_AfterSelect(object sender, TreeViewEventArgs e) { label1.Text = "您选择的是:" + e.Node.Text; }
2024-02-18 17:15:28
树节点效果
属性:Nodes(节点)
事件:AfterSelect(双击TreeView控件转到)
private void treeView1_AfterSelect(object sender, TreeViewEventArgs e) { label1.Text = "您选择的是:" + e.Node.Text; }