VenomRat
This commit is contained in:
12
Helper/ListviewDoubleBuffer.cs
Normal file
12
Helper/ListviewDoubleBuffer.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.Reflection;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Server.Helper;
|
||||
|
||||
public static class ListviewDoubleBuffer
|
||||
{
|
||||
public static void Enable(ListView listView)
|
||||
{
|
||||
typeof(Control).GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic).SetValue(listView, true, null);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user