SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.EnableNotifyMessage |
SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer | ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor | ControlStyles.UserPaint, true);