I want to show a childform (without any border, textbar) in the parentform. I`ve used the code below, But when I start the program, I still see the borders and textbar.
What am I doing wrong?
What am I doing wrong?
Visual Basic:
Private Sub MDIParent_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim NewMDIChild As New Registrer()
NewMDIChild.MdiParent = Me
NewMDIChild.FormBorderStyle = BorderStyle.None
'NewMDIChild.FormBorderStyle = FormBorderStyle.None
NewMDIChild.Dock = DockStyle.Fill
NewMDIChild.Show()
End Sub