_Saeed

_Saeed

  • NA
  • 7
  • 2.3k

Tab page similar to Google Chrome! C#

May 12 2017 1:03 AM

Hi

How to make Addtab button that when I click on it the previous data with new TabPage?
  1. public Form1()  
  2.        {  
  3.            InitializeComponent();  
  4.        }  
  5.   
  6.        private void tabPage1_Click(object sender, EventArgs e)  
  7.        {  
  8.   
  9.        }  
  10. private void button1_Click(object sender, EventArgs e)  
  11.        {  
  12.   
  13.            string title = "TabPage " + (tabControl1.TabCount + 1).ToString();  
  14.            TabPage myTabPage = new TabPage(title);  
  15.            tabControl1.TabPages.Add(myTabPage);  
  16.   
  17.        }  
 Pls Help Meeeeeeeeeeeee :((((

Answers (1)