/// <summary> /// Initializes the control for the first time /// </summary> private void Initialize() { SetStyle(ControlStyles.OptimizedDoubleBuffer, true); SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.ResizeRedraw, true); bands = new NaviBandCollection(this); layoutFactory = new NaviLayoutFactory(this); smallImages = new ImageList(); largeImages = new ImageList(); }