public LayerControl() { InitializeComponent(); layerControl = new LayerControlHack(this); ResizeRedraw = false; DoubleBuffered = false; SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.Opaque, true); }
public LayerControl() { InitializeComponent(); layerControl = new LayerControlHack(this); }