利用反射机制修改TableLayoutPanel的Protected的DoubleBuffered属性
private void Form1_Load(object sender, EventArgs e)
{
tableLayoutPanel1.GetType().GetProperty("DoubleBuffered", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(tableLayoutPanel1, true, null);
}参考资料:http://social.msdn.microsoft.com/Forums/zh-TW/233/thread/16f60c2f-93c2-4f8c-b987-4277fd992f7c/http://msdn.microsoft.com/zh-cn/library/system.windows.forms.control.doublebuffered.aspxhttp://msdn.microsoft.com/zh-cn/library/system.windows.forms.tablelayoutpanel_properties.aspx
转载于:https://www.cnblogs.com/wuhenke/archive/2012/09/26/2704081.html
相关资源:数据结构—成绩单生成器