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.
VulpesPosted Apr 28, 2014, 11:41 AM
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
simbu TPosted Apr 28, 2014, 9:33 AM
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
simbu TPosted Apr 28, 2014, 9:11 AM
Thanks a lot for your quick response. It worked out fine. Once again Thanks a lot.
Regards
Simbu
VulpesPosted Apr 28, 2014, 8:10 AM
// form1.cs
// form2.cs