摘要:
//XtraTreeList没有点击节点的事件是很让人纠结的,而且在右击节点的时候无法进行选中,蛋疼了一段时间后,终于找到了解决方法 private void treeCategory_MouseDown(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Right) { TreeListHitInfo hitInfo = (sender as TreeList).CalcHitInfo(new Point(e.X, e.Y)); TreeListNode node = hitInfo.Node; if (node 阅读全文