日期:2014-05-17 浏览次数:20933 次
private void treeView1_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e) { if (e.Node.Nodes.Count > 0) return; }
------解决方案--------------------
private void treeView1_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
{
if (e.Node.Nodes.Count==0&&e.Node.NextNode==null)
{}
}