public CustomScrollControl()
{
SuspendLayout();
Name = "CustomScrollControl";
base.AutoScroll = false;
//to remove flicker and use custom draw
SetStyle(ControlStyles.UserPaint, true);
SetStyle(ControlStyles.AllPaintingInWmPaint, true);
CreateDockControls();
ResumeLayout(false);
}