Ejemplo n.º 1
0
        public BaseCustomCtrl()
        {
            _eventHD = new CustomEventHandler(this);

            this.SetStyle(ControlStyles.ResizeRedraw |
                          ControlStyles.OptimizedDoubleBuffer |
                          ControlStyles.AllPaintingInWmPaint, true);
            this.UpdateStyles();
        }