Click here to Skip to main content
15,890,995 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Code in VB6 as following:
MSIL
' MDIForm is a MDIForm 
Private Sub MDIForm_Load()
    Load Sub_Soukan   'Sub_Soukan ia a normal form
    Sub_Soukan.Show vbModeless
End Sub


so in VB.NET,can you tell me, I must use which command to replace that they are the same?

Thanks in advance
Posted

1 solution

something simiar in VB.Net would be -
Dim NewMDIChild As New Form2()
NewMDIChild.MdiParent = Me
NewMDIChild.Show()
 
Share this answer
 
Comments
ngthtra 12-Jul-11 22:08pm    
thanks very much.I will test it

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900