Menu

[38707f]: / ListViewEx.cs  Maximize  Restore  History

Download this file

19 lines (17 with data), 462 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
using System.Windows.Forms;
namespace GitForce
{
/// <summary>
/// Subclass a standard ListView to be able to set some internal flags
/// </summary>
public class ListViewEx : ListView
{
public ListViewEx()
: base()
{
// Optimize drawing to avoid flicker
SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
SetStyle(ControlStyles.AllPaintingInWmPaint, true);
}
}
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.