Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Set DataGridView to double buffered
- // replace DataGridViewControlName with actual name
- // Source: https://www.codeproject.com/tips/654101/double-buffering-a-datagridview
- typeof(DataGridView).InvokeMember("DoubleBuffered", BindingFlags.NonPublic |
- BindingFlags.Instance | BindingFlags.SetProperty, null,
- DataGridViewControlName, new object[] { true });
Add Comment
Please, Sign In to add comment