winform选项卡控件的bug [英] bug with winform tab control

查看:53
本文介绍了winform选项卡控件的bug的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以不同顺序添加页面:

tabControl _-> TabPages->插入(订单,页面)

tabControl_->TabPages->Insert(order, page)

删除页面:

tabControl _-> TabPages-> RemoveAt(订单)

tabControl_->TabPages->RemoveAt(order)

RemoveAt有时会删除错误的标签页

the RemoveAt will on occasion delete the wrong tab page

推荐答案


以不同顺序添加页面:

add pages in varying order with:

tabControl _-> TabPages->插入(订单,页面)

tabControl_->TabPages->Insert(order, page)

删除页面:

tabControl _-> TabPages-> RemoveAt(订单)

tabControl_->TabPages->RemoveAt(order)

RemoveAt有时会删除错误的标签页

the RemoveAt will on occasion delete the wrong tab page


这篇关于winform选项卡控件的bug的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆