Example #1
0
 SetStyle(ControlStyles.AllPaintingInWmPaint |
          ControlStyles.EnableNotifyMessage |
Example #2
0
 SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer | ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor | ControlStyles.UserPaint, true);