摘要: 实现的功能(C#的树控件 - TreeView控件):1、右击树节点所在区域时,才会弹出快捷菜单(右键菜单)。2、树控件失去焦点时,被选中的节点,仍然高亮显示。先看效果:图1 失去焦点时仍然高亮显示(颜色可以自己设置)图2 只会在选中的节点右下方弹出菜单实现方法详解(有时间再写):实现的代码:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;usin 阅读全文
posted @ 2012-01-19 11:10 Ruiky 阅读(10728) 评论(0) 推荐(2) 编辑