老师好,我添加下面代码后打开系统报错。
.NET Framework 版本:2.0.50727.8800
Foxtable 版本:2017.4.22.1
错误所在事件:项目,AfterOpenProject
详细错误信息:
只有C1DockingTabPage类型的对象可以添加到C1DockingTab的Controls集合中。
Dim cs() As String = {"系统","入库","入库明细","出库","出库明细","进销存","支出","支出明细","应付款","应收款","应收应付","支出","支出明细","送货单管理","采购凭证管理","已开fa piao","users","通讯录"}
Dim tab = basemainform.controls("mainpages")
For i As Integer = 0 To cs.length-1
Dim p As C1.Win.C1Command.C1DockingTabPage = tab.TabPages(cs(i))
tab.TabPages.Insert(i, p)
Next