以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 如何将窗口加入TabControl控件中? (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=56065) |
-- 作者:苍风霁月 -- 发布时间:2014/8/28 16:42:00 -- 如何将窗口加入TabControl控件中? 没找到论坛案例,求帮助! |
-- 作者:有点甜 -- 发布时间:2014/8/28 17:19:00 -- 参考代码
Dim PB As WinForm.Panel = e.Form.Controls("Panel2")
Dim Name As String = "工具栏"
Forms(Name).OPEN(-1000,-1500)
Forms(Name).BaseForm.TopLevel = False
Forms(Name).BaseForm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
Forms(Name).BaseForm.Dock = System.Windows.Forms.DockStyle.Fill
PB.BaseControl.Controls.Clear
PB.BaseControl.Controls.add(Forms(Name).BaseForm)
|
-- 作者:有点甜 -- 发布时间:2014/8/28 17:19:00 --
例子
http://www.foxtable.com/bbs/dispbbs.asp?BoardID=2&ID=55906&skin=0
|