}                                                                                                           // 1.0.010

        /// <summary>
        /// Initializes a new instance of the <see cref="TabEventArgs"/> class.
        /// </summary>
        /// <param name="theTabPage">The tab page.</param>
        /// <param name="theTabEvent">The tab event.</param>
        public TabEventArgs(
            ZeroitAyensuTabPage theTabPage,
            TabEventArgs.TabEvents theTabEvent)
        {
            this._TabPage  = theTabPage;
            this._TabEvent = theTabEvent;
        }
예제 #2
0
        }                                                                                                           // 1.0.010

        /// <summary>
        /// Adds the specified the tab page.
        /// </summary>
        /// <param name="theTabPage">The tab page.</param>
        public void Add(ZeroitAyensuTabPage theTabPage)                                                                                                 // 1.0.001
        {                                                                                                                                               // 1.0.001
            // Any special processing may be done here														// 1.0.001
            //																								// 1.0.001
            _owner.cmnuTabRect_Built = false;                                                                       // 1.0.001
            base.Add(theTabPage);                                                                                   // 1.0.001
        }                                                                                                           // 1.0.001
        }                                                                                                           // 1.0.010

        /// <summary>
        /// Initializes a new instance of the <see cref="TabEventArgs"/> class.
        /// </summary>
        /// <param name="theTabIndex">Index of the tab.</param>
        /// <param name="theTabPage">The tab page.</param>
        /// <param name="theTabEvent">The tab event.</param>
        public TabEventArgs(
            int theTabIndex,
            ZeroitAyensuTabPage theTabPage,
            TabEventArgs.TabEvents theTabEvent)
        {
            this._TabIndex = theTabIndex;
            this._TabPage  = theTabPage;
            this._TabEvent = theTabEvent;
        }
        }                                                                                                           // 1.0.010

        /// <summary>
        /// Initializes a new instance of the <see cref="TabEventArgs"/> class.
        /// </summary>
        /// <param name="theNewTabIndex">Index of the new tab.</param>
        /// <param name="theOldTabIndex">Index of the old tab.</param>
        /// <param name="theTabPage">The tab page.</param>
        /// <param name="theTabEvent">The tab event.</param>
        public TabEventArgs(                                                                                        // 1.0.003
            int theNewTabIndex, int theOldTabIndex,                                                                 // 1.0.003
            ZeroitAyensuTabPage theTabPage,                                                                         // 1.0.003
            TabEventArgs.TabEvents theTabEvent)                                                                     // 1.0.003
        {                                                                                                           // 1.0.003
            this._TabIndex    = theNewTabIndex;                                                                     // 1.0.003
            this._oldTabIndex = theOldTabIndex;                                                                     // 1.0.003
            this._TabPage     = theTabPage;                                                                         // 1.0.003
            this._TabEvent    = theTabEvent;                                                                        // 1.0.003
        }                                                                                                           // 1.0.003
예제 #5
0
        }                                                                                                           // 1.0.010

        /// <summary>
        /// Inserts the specified index.
        /// </summary>
        /// <param name="index">The index.</param>
        /// <param name="theTabPage">The tab page.</param>
        public void Insert(int index, ZeroitAyensuTabPage theTabPage)           // 1.0.004
        {                                                                       // 1.0.004
            InsertRange(false, index, theTabPage);                              // Insert [theTabPage] at [index]               // 1.0.004
        }                                                                       // 1.0.004
예제 #6
0
        }                                                                                                           // 1.0.001

        /// <summary>
        /// Determines whether [contains] [the specified the tab page].
        /// </summary>
        /// <param name="theTabPage">The tab page.</param>
        /// <returns><c>true</c> if [contains] [the specified the tab page]; otherwise, <c>false</c>.</returns>
        public bool Contains(ZeroitAyensuTabPage theTabPage)                                                        // 1.0.001
        {                                                                                                           // 1.0.001
            return(base.Contains(theTabPage));                                                                      // 1.0.001
        }                                                                                                           // 1.0.001