可以用以下方法,已经测试:
public class CustomListView : ListView
{
public CustomListView()
{
SetStyle(ControlStyles.DoubleBuffer |
ControlStyles.OptimizedDoubleBuffer |
ControlStyles.AllPaintingInWmPaint,
true);
UpdateStyles();
}
}