How to hide TabPage from TabControl [duplicate]
问题 This question already has answers here : Hiding and Showing TabPages in tabControl (18 answers) Closed 3 years ago . How to hide TabPage from TabControl in WinForms 2.0? 回答1: No, this doesn't exist. You have to remove the tab and re-add it when you want it. Or use a different (3rd-party) tab control. 回答2: Code Snippet for Hiding a TabPage private void HideTab1_Click(object sender, EventArgs e) { tabControl1.TabPages.Remove(tabPage1); } Code Snippet for Showing a TabPage private void ShowTab1