项目事件AfterOpenProject
Dim MainTab As C1Command.C1DockingTab = BaseMainform.Controls("MainPages")
Dim FormTab As C1Command.C1DockingTab = MainTab.TabPages(0).controls(0)
FormTab.CanCloseTabs = True
FormTab.CloseBox = 1
Formtab.CanAutoHide = True
并列窗口测试1,2中都放了一个目录树的控件
窗口事件AfterLoad
Dim tr As WinForm.TreeView = e.Form.Controls("TreeView1")
关闭窗口,马上打开会出现这个
---------------------------
提示
---------------------------
并列窗口测试2已经关闭,不能调用其中的控件"TreeView1" !
---------------------------
确定
---------------------------
[此贴子已经被作者于2017/5/18 17:18:04编辑过]