From 1878f24679c922f42f3c3628663173b0f16f2e4e Mon Sep 17 00:00:00 2001 From: liang123456a Date: Thu, 4 Sep 2025 11:27:18 +0800 Subject: [PATCH] aa --- WinFormsApp1/FastDataGridView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WinFormsApp1/FastDataGridView.cs b/WinFormsApp1/FastDataGridView.cs index a87c887..f5c8a2e 100644 --- a/WinFormsApp1/FastDataGridView.cs +++ b/WinFormsApp1/FastDataGridView.cs @@ -10,7 +10,7 @@ public class FastDataGridView : DataGridView typeof(DataGridView) .GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic) .SetValue(this, true, null); - + this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.UserPaint, true);