c#隐藏tabcontrol选项卡时间:2023-03-10 00:48:29 隐藏:Tab1.TabPage2.Parent = null;显示:Tab1.TabPage2.Parent =Tab1;tab1为tab控件名,TabPage2为选项卡名。