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