//双击第一个标签显示第二个标签
private void tabControl1_DoubleClick(object sender, EventArgs e) { if(tabControl1.SelectedIndex==0) { tabControl1.SelectedIndex =1;
tabControl1.TabPages.Remove(this.tabPage2); } }
//双击第一个标签显示第二个标签
private void tabControl1_DoubleClick(object sender, EventArgs e) { if(tabControl1.SelectedIndex==0) { tabControl1.SelectedIndex =1;
tabControl1.TabPages.Remove(this.tabPage2); } }