Multi Form in VB.net

  • Thread starter Thread starter Cathy
  • Start date Start date
C

Cathy

Hi,

I want to show the LoginFrm Form when user click the Login
Button, I'm using below code, when the LoginFrm appear, it
is Blank! I can't see the button, label, Text Box in
LoginForm. May I know why? Isn't my code wrong?
Please advise.


Private Sub btnStart_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles btnStart.Click
Dim MyLoginForm As New LoginFrm

MyLoginForm.Show()

End Sub
End Class
 
It seams to me that code if perfectly OK.

Have to checked the visibility properties of the controls in the Login form.

If it is hidden that it will not display.

Partha
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top