簡體   English   中英

如何使用主MDI父窗體上的MenuList打開MDI子窗體

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

我有使用MenuList創建的MDI父表單,也有創建了MDI子表單...如何使用MenuList在父表單中打開MDI子表單?

我最終在活動中添加了這段代碼:

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM