C# treeview右键菜单 设置技巧
摘要:
//在NodeMouseClick事件中 再将cms设定成treeview的cms. 这样点空,不会出现右键菜单. //右键菜单 private void tv_Roots_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e) { if (e.Button != MouseButtons.Right) return; if (e.Node.Parent == null || e.Node == null) return; tv_Roots.SelectedNode = e.Node; cmsRouts.Show(tv_Root 阅读全文
posted @ 2012-06-02 14:45
imihiro
阅读(13331)
评论(2)
推荐(0)
浙公网安备 33010602011771号