I am actually studying and working on VB.NET. My school is using VS2010, and I professionally use VS2012. When I have to call a windows form in an Mdicontainer
in VS2010, I just use its class name, like for example:
FormX.MdiParent = Me
FormX.Show()
But when i use VS2012, it seems I have to create an instance of my mdichild
, just like this:
Dim form As New FormX()
form.MdiParent = Me
form.Show()
My question is: is it just me doing wrong or VS has changed the way we use WinForms?