Hello....Im making a vc# proj...I just want to know what is code on opening a new form while closing my current form....tanx
bords
1
Light Poster
Recommended Answers
Jump to PostHello....Im making a vc# proj...I just want to know what is code on opening a new form while closing my current form....tanx
Well you just write following code on close button click:
Form2 f2=new Form2(); f2.show(); this.close();
Mark this thread as solved if your problem will solved.....
All 3 Replies
avirag
10
Posting Whiz
avirag
10
Posting Whiz
ddanbe
2,724
Professional Procrastinator
Featured 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.