[英]How to open a tabpage and change the tabpage text base on the row selected in the datagridview?
[英]how to change TabPage Change
如何通過單擊按鈕事件來更改當前選項卡?
public void btn_Click(object sender, EventArgs e)
{
//change tab here
}
tabCtrl.SelectedTab = desiredTab;
要么
tabCtrl.SelectedIndex = desiredTabIndex;
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.