c#:treeview双击树节点的事件手动绑定
程序员文章站
2022-06-08 09:13:27
...
this.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_DoubleClick);
private void treeView1_DoubleClick(object sender, TreeNodeMouseClickEventArgs e)
{
//获取节点数据
string text = e.Node.Text;
}
上一篇: 日常生活如何减肥 减肥的六个小窍门