c# 隐藏Tab控件的标签
public void HideTabcontrolLabel(TabControl tabControl1) { tabControl1.Appearance = TabAppearance.FlatButtons; tabControl1.SizeMode = TabSizeMode.Fixed; for (int i = 0; i < tabControl1.TabPages.Count; i++) { tabControl1.TabPages[i].Text = ""; } tabControl1.ItemSize = new Size(0, 1); }