Exemplo n.º 1
0
        public void openTab(TabPage tb)
        {
            this.tabControl1.TabPages.Add(tb);
            Product_Details _detail = new Product_Details();

            _detail.Dock     = DockStyle.Fill;
            _detail.TopLevel = false;
            tb.Controls.Add(_detail);
            _detail.Show();
        }