其他分享
首页 > 其他分享> > Winform中DataGridView横向拖动滚动条时闪烁问题很严重的处理办法

Winform中DataGridView横向拖动滚动条时闪烁问题很严重的处理办法

作者:互联网

原文链接:http://www.cnblogs.com/WilliamJiang/archive/2012/06/19/2555023.html

 

            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

标签:WilliamJiang,www,06,DataGridView,滚动条,html,BindingFlags,archive,Winform
来源: https://blog.csdn.net/weixin_30867015/article/details/99614403