开发者

Add new tabpage to Tab

开发者 https://www.devze.com 2023-03-03 09:09 出处:网络
TabPage newtab = new TabPage(); newtab = tabPage2; Acc1Tab.Controls.Add(newtab); with tabPage2 I created by d开发者_开发百科esign mode with button, label...
TabPage newtab = new TabPage();
newtab = tabPage2;
Acc1Tab.Controls.Add(newtab);

with tabPage2 I created by d开发者_开发百科esign mode with button, label... I use this code to add new tab when Doubleclick ListViewItem event occur. but if i double click one time it run correct button i click one more this tab will be a white it not contain anything and prevour tab is same.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号