Click here to Skip to main content
11,496,146 members (811 online)
The site is currently in read-only mode for maintenance. Posting of new items will be available again shortly.
See more: C#2.0
hi friends,
i am developing a small windows application. In that i am redirect from one form to another form.......
how can i redirect from one form to another form in
Posted 23-May-10 20:55pm
Use the following code to navigate from one form to another.
Form2 obj1 = new Form2();
For more details visit:Navigating from one form to another
Form2 f2 = new Form2;
Toniyo Jackson at 21-Apr-11 5:17am
Added pre tag
kittytaneja at 26-Nov-13 5:17am
sir i want oneForm automatically timeout and redirect to loginForm... but little bit change that is i want to give specific time suppose 20 min. same i ill give but if i ill touch my mouse than timer should be start from starting(means 0) and if i ill not touch my mouse last 20 min it will automatically come back to login page please help me for that and provide me code for only windows forms in .net applicatioin
honey4bee at 29-Jul-11 3:49am
its working............
Close the current form - this.Close(),
Create object for another form and call formObject.Show() method.

sree 2010 wrote:
please give me one example to navigate from one form to another

Try this![^]

sree 2010 at 24-May-10 2:13am
please give me one example to navigate from one form to another
sree 2010 at 24-May-10 2:20am
thank you
Prasanta_Prince at 21-Apr-11 5:39am
Good Solution.
Ankur\m/ at 21-Apr-11 5:49am
Saying good solution doesn't help anyone. You should vote up a good solution so that the future users find the answer fast and easy.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Dnyaneshwar@Pune 692
1 RyanDev 230
2 CHill60 163
3 Sascha Lefèvre 145
4 Sergey Alexandrovich Kryukov 124
0 Sergey Alexandrovich Kryukov 10,401
1 OriginalGriff 8,910
2 Sascha Lefèvre 3,899
3 Maciej Los 3,422
4 Richard Deeming 2,600

Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 12 Jan 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100