.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> WPF >> Post New QuestionBookmark and Share Subscribe to Forum

Back to back rotating form

Posted By: ajayatul     Posted Date: August 06, 2011    Points:5   Category :WPF
I am developing a application in WPF. I am having 2 different screens for login page and registration page. I want these 2 forms to rotate onclick of button. i.e. when login page is displayed their is a link for registration on same page then registration page is displayed and same vice versa.
To summarize it I want the forms back to back of each other.
Please tell me how to do it. Thanks

Responses
Author: kamlesh             
Posted Date: August 08, 2011     Points: 20   

hi,

suppose below two form
form1 and form2

write onclick event on link on form1.
form2 frm = new form2();
frm.show();
this.close();

and for form2
form1 frm = new form();
frm.show();
this.close();


Thanks And Regards.
Kamlesh Nikam


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend