开发者

How to open a MDI child form using a MenuList on the main MDI parent form

I have a MDI Parent form created with a MenuList, I a开发者_Go百科lso have the MDI child form created... how do I go about using the MenuList to open the MDI child form within the parent form?


I ended up added within the event this code:

    '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()
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜