How did you set up double buffering?
You must either set the control's DoubleBuffered property to true
public UserControl1()
{
InitializeComponent();
this.DoubleBuffered = true;
}
or
SetStyle OptimizedBoubleBuffer AllPaintingInWmPaint
public UserControl1()
{
InitializeComponent();
SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);
}
ControlStyles.AllPaintingInWmPaint WM_ERASEBKGND. , . DoubleBuffered true, SetStyle, .