示例#1
0
        //----------------------------------------


        #region Public Methods
        #endregion


        //----------------------------------------


        #region Private Methods
        private void setTab(UserControl userControl, TabPageEX tabPage)
        {
            if (userControl is TabPageDataControlBase)
            {
                (userControl as TabPageDataControlBase).DataSelectionChanged += tabPage_SelectionChanged;
            }

            userControl.Dock = DockStyle.Fill;
            tabPage.Controls.Add(userControl);
        }
示例#2
0
        //---------------------------------------------


        #region Private Methods
        private void setTab(UserControl userControl, TabPageEX tabPage)
        {
            userControl.Dock = DockStyle.Fill;
            tabPage.Controls.Add(userControl);
        }
示例#3
0
        private void setTab(UserControl userControl, TabPageEX tabPage)
        {
            if (userControl is TabPageDataControlBase)
            {
                (userControl as TabPageDataControlBase).DataSelectionChanged += tabPage_SelectionChanged;
            }

            userControl.Dock = DockStyle.Fill;
            tabPage.Controls.Add(userControl);
        }