Call Forms in Visual Studio 2015 from a MenuStrip

0

I would like to know how to call a form from a MenuStrip without closing the form where the Menu is The codes that I used are from Visual Studio 2008 and they do not work for Visual Studio 2015

    
asked by Juan 03.04.2017 в 00:32
source

2 answers

0

Put the property isMdiContainer = true of the main form

    
answered by 03.04.2017 в 20:51
0

I usually do it like this:

Dim f as New Nombredelformulario
f.ShowDialog()

Then at the end to free resources I put under the ShowDialog

f.Dispose()
    
answered by 18.04.2017 в 09:58