talukdarmanoj
Member
- Joined
- Sep 26, 2007
- Messages
- 6
- Programming Experience
- Beginner
I used the following code to diaplay the Form2 by Clicking a Button of Form1 both are childform but it does not work, anyone can help me ?
VB.NET:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim frm As New Form2
frm.MdiParent = MDIParentMain
frm.Show()
End Sub
Last edited by a moderator: