摘要: 【问题】:当点击列标题的时候,能够完成对该列排序,再次点击,按照该列反序排序。【解决方法】:使用 IComparer接口。例子:1.using System;using System.Collections.Generic;using System.Text;using System.Collections;using System.Windows.Forms;namespace sortListView{ class ListViewColumnSorter: IComparer { private int ColumnToSort;// 指定按照哪个列排序 priv... 阅读全文
posted @ 2012-12-09 15:40 clown 阅读(1777) 评论(0) 推荐(0) 编辑