示例#1
0
        private void ShowTab(IEditPage editPage)
        {
            Control control = (Control)editPage;

            base.ContentPanel.Controls.Add(control);
            control.BackColor = Color.Transparent;
            control.Dock      = DockStyle.Fill;
            editPage.SetXenObjects(this.xenObject, this.xenObjectCopy);
            base.verticalTabs.Items.Add(editPage);
        }
示例#2
0
        private void ShowTab(IEditPage editPage)
        {
            var pageAsControl = (Control)editPage;

            ContentPanel.Controls.Add(pageAsControl);
            pageAsControl.BackColor = Color.Transparent;
            pageAsControl.Dock      = DockStyle.Fill;

            editPage.SetXenObjects(xenObject, xenObjectCopy);
            verticalTabs.Items.Add(editPage);
        }
示例#3
0
        private void ShowTab(IEditPage editPage)
        {
            var pageAsControl = (Control)editPage;
            ContentPanel.Controls.Add(pageAsControl);
            pageAsControl.BackColor = Color.Transparent;
            pageAsControl.Dock = DockStyle.Fill;

            editPage.SetXenObjects(xenObject, xenObjectCopy);
            verticalTabs.Items.Add(editPage);
        }