Add double buffer
This commit is contained in:
parent
0c64aff18e
commit
b57aa99d71
@ -71,8 +71,14 @@ namespace AsyncRAT_Sharp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private async void Form1_Load(object sender, EventArgs e)
|
private async void Form1_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
System.Reflection.PropertyInfo aProp = typeof(System.Windows.Forms.Control)
|
||||||
|
.GetProperty("DoubleBuffered", System.Reflection.BindingFlags.NonPublic |
|
||||||
|
System.Reflection.BindingFlags.Instance);
|
||||||
|
aProp.SetValue(listView1, true, null);
|
||||||
|
|
||||||
CheckFiles();
|
CheckFiles();
|
||||||
lvwColumnSorter = new ListViewColumnSorter();
|
lvwColumnSorter = new ListViewColumnSorter();
|
||||||
this.listView1.ListViewItemSorter = lvwColumnSorter;
|
this.listView1.ListViewItemSorter = lvwColumnSorter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user