16 lines
426 B
C#
16 lines
426 B
C#
|
|
using System;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using System.Linq;
|
||
|
|
using System.Text;
|
||
|
|
using System.Threading.Tasks;
|
||
|
|
using System.Windows.Forms;
|
||
|
|
|
||
|
|
public class BufferedListView : ListView
|
||
|
|
{
|
||
|
|
public BufferedListView()
|
||
|
|
{
|
||
|
|
// Zapne dvojité bufferovanie pre ListView
|
||
|
|
this.SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);
|
||
|
|
this.UpdateStyles();
|
||
|
|
}
|
||
|
|
}
|