在数据绑定后加以下代码:
Type type = DataGridView.GetType();
PropertyInfo pi = type.GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic);
pi.SetValue(DataGridView, true, null);
在数据绑定后加以下代码:
Type type = DataGridView.GetType();
PropertyInfo pi = type.GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic);
pi.SetValue(DataGridView, true, null);