
请教下,我想界面一进去时,分割条左侧就处于隐藏状态(如下图),点击后在展开,该怎么操作?
afterload 代码如下:
_MainTab = e.Form.Controls("TabControl1")
Dim t As C1Command.C1DockingTab = e.Form.Controls("TabControl1").BaseControl
t.CanCloseTabs = True
t.VisualStyle = C1.Win.C1Command.VisualStyle.Office2007Silver
t.CloseBox = 2
AddHandler t.TabPageClosing, AddressOf _TabPageClosing
Dim sp As New SplitFormEx
_MainSplitFormEx = sp
e.Form.Panel.Controls.Add(sp)
sp.Dock = 5
sp.FixedPanel = 1 '尺寸变化时,Panel保持不动
sp.SplitterDistance = 150 '分隔条的初始位置
sp.panel1.Controls.Add(e.Form.Controls("NavBar1").BaseControl)
e.Form.Controls("NavBar1").Dock = 5
sp.panel2.Controls.Add(e.Form.Controls("TabControl1").BaseControl)
e.Form.Controls("TabControl1").Dock = 5