c# treeview控件旁如何显示行数

[复制链接]
查看11 | 回复2 | 2013-5-21 16:01:48 | 显示全部楼层 |阅读模式
这么写就行了using System;using System.Collections.Generic;using System.Text;using System.Windows.Forms;using System.Runtime.InteropServices;using System.Drawing;namespace WindowsFormsApplication3{public class NumberTreeView : TreeView{[DllImport("user32.dll", CharS...
回复

使用道具 举报

千问 | 2013-5-21 16:01:48 | 显示全部楼层
我靠这也要100分。 你在添加节点的时候 把行号 和节点内容拼成一个字符串就OK了...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行