实现代码如下:

this.tclMain.Controls["tpgSize"].Parent = null;
this.tclMain.Controls["tpgColor"].Parent = null;

上述代码将原本是tabcontrol(tclMain)中的两个TabPag(tpgSize, tpgColor)e去掉了
实现代码如下:

this.tclMain.Controls.Add(tpgSize);

上述代码又将原本tabpage(tpgSize)添加回来

以上就是【关于C# TabPage如何隐藏的问题】的全部内容了,欢迎留言评论进行交流!

赞(0) 踩(0)

与本文相关的软件

发表我的评论

最新评论

  1. 暂无评论