/// <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(); }
/// <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(); }
public NaviBandEnumerator(NaviBandCollection collection) { this.collection = collection; curIndex = -1; current = default(NaviBand); }