有效解决WinForm窗体背景图片导致闪屏刷新问题

this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);

this.SetStyle(ControlStyles.DoubleBuffer, true);

this.SetStyle(ControlStyles.UserPaint, true);

this.SetStyle(ControlStyles.ResizeRedraw, true);

原文地址:https://www.cnblogs.com/lizi/p/2637660.html