SetStyle(ControlStyles.AllPaintingInWmPaint, true);SetStyle(ControlStyles.UserPaint, true);SetStyle(ControlStyles.OptimizedDoubleBuffer, true);