Created
November 8, 2019 09:37
-
-
Save owlscatcher/a71985b9e0d57c9c9c3e14f8ce272cc8 to your computer and use it in GitHub Desktop.
Dual buffer c# DataGridView
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Включаем двойную буферизацию для DataGridView | |
typeof(DataGridView).InvokeMember( | |
"DoubleBuffered", | |
System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.SetProperty, | |
null, | |
dataGridView1, | |
new object[] { true }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment