Hi Team,
I am new to this .Net Field. I just wanted to create a textbox and a button in one form1.cs (C#) . After entering the text in textbox1, click button it should redirect to form2.cs and to display the content in a textbox2. Please help me on this.

VulpesRank #55 · 29.2K reputationPosted Apr 28, 2014, 4:10 AM EDT
// form1.cs
// form2.cs
simbu T5 reputationPosted Apr 28, 2014, 5:11 AM EDT
Thanks a lot for your quick response. It worked out fine. Once again Thanks a lot.
Regards
Simbu
simbu T5 reputationPosted Apr 28, 2014, 5:33 AM EDT
When I execute this code, actually both the forms are active. Could you pls suggest me how to display data only in form2 by disabling form1.
In simple when i type data in form 1, form 1 should be closed and form 2 should pop up showing the data.
Regards
Simbu
VulpesRank #55 · 29.2K reputationPosted Apr 28, 2014, 7:41 AM EDT
However, what you can do is to make form1 invisible when form2 is shown and then make it visible again when form2 is closed:
// form1.cs
// form2.cs
// add this handler via the Properties box, not directly