hi there guys got a question right here, what can be the problem with this? I mean I was calling the Form1 which I have designed as a login form so whenever you click the login button the Form1 is supposed to show up, but then I get an error I do not entirely understand. anyone who can interpret this to me please... thank you!
king03
0
Junior Poster in Training
Recommended Answers
Jump to PostThe problem seems to be that you're not initializing the Form; either that or Form1 is in another namespace by accident (highly unlikely but can happen). To resolve this try:
Form1 f1 = new Form1(); f1.Show();
Hope it helps,Jamie
All 3 Replies
king03
0
Junior Poster in Training
lxXTaCoXxl
26
Posting Whiz in Training
james6754
39
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.