C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » Windows »

Jump 4m one form 2 another


Posted Date: 06 Nov 2009      Posted By: saurabh      Member Level: Bronze     Points: 1   Responses: 2



i want add a action on a button click
that when i click on a button it will jump on 2 form
means button click event open sec form
in asp .net it work with "Response.Redirect()"
but it dont work on win form





Responses

Author: Anil Kumar Pandey    06 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

response.Redirect is not for Windows form,

for that use.


Form2 frm2 = new Form2();
frm2.Show();


Thanks & Regards
Anil Kumar Pandey



Author: Deepika Haridas    06 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Hello,

You need to write

Form2 childform = new Form2();
childform.Show();




Thanks & Regards,
Deepika
Editor

If U want to shine like a SUN..First U have to burn like the SUN!!
Need a Guide? Join my mentor program..



Post Reply
You must Sign In to post a response.
Next : Set up for windows application
Previous : Close One Form and Open New Form
Return to Discussion Forum
Post New Message
Category: Windows

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use