customerBindingSource.DataSource = northwindDataContent.Customers; Type type = customerDataGridView.GetType(); PropertyInfo pi = type.GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic); pi.SetValue(customerDataGridView, true, null);
转载于:https://www.cnblogs.com/WilliamJiang/archive/2012/06/19/2555023.html