引用:
原帖由 gold_fish 於 2008-5-7 14:28 發表
如果係2張form 係咪都係咁?即由一張form 去到另一張form入面tabpage 第2版
* \$ H$ I5 u( G) ]0 c. v不是 ...
5 \8 V) z+ l4 ~. _+ _eg.
) L7 P6 h8 F: V5 V. D
form1 contain the button
+ S0 F' x( w; Y p
form2 contain the tab
% f6 M& ^8 l( c
: g. @, p. c8 b' `" W/ fthen in form1 click event
複製內容到剪貼板
代碼:
form2.TabControl1.SelectTab(1)
form2.show