How can i achive this...............?

  • Thread starter Thread starter Ritesh Jain via DotNetMonster.com
  • Start date Start date
R

Ritesh Jain via DotNetMonster.com

Hi,
How can i achive this...............
There is a button on form1. On button clicking need to show form2 and close the form1(not to hide the form1)

Regards,
Ritesh
 
have a bit of code running that is in neither to coordinate closing the
first form and opening the second. You didn't say if either form1 or form2
were your main form. If they are both child forms, then the technique in
this thread should help.
http://www.dotnetforums.com/showthread.php?t=1376

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
Ritesh Jain via DotNetMonster.com said:
Hi,
How can i achive this...............
There is a button on form1. On button clicking need to show form2 and
close the form1(not to hide the form1)
 

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