我有一个用MenuList创建的MDI Parent表单,我也创建了MDI子表单...如何使用MenuList在父表单中打开MDI子表单?
答案 0 :(得分:2)
我最终在活动中添加了这段代码:
'Create a new instance of Form2
Dim NewMDIChild As New frmProductMaintenance()
'Set the parent of the MDI child form.
NewMDIChild.MdiParent = Me
'Display the new form.
NewMDIChild.Show()