hi
reply please
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Liya41 reputationPosted Jun 1, 2010, 12:40 AM EDT
Gowthamaprabhu S48 reputationPosted Jun 1, 2010, 12:52 AM EDT
Liya41 reputationPosted Jun 1, 2010, 1:46 AM EDT
The question is why do you need more then one form?
You can create one form which will be defined on the whole page and put the textboxes in it, and then it is easy
text1.text = text2.text and that's all
Minh40 reputationPosted Jun 6, 2010, 6:51 AM EDT
Follow this code :
Form1 :
private Form3 _frm1_frm3=null;
public Form3 frm1_frm3
{
get {return _frm1_frm3;}
set {_frm1_frm3=value;}
}
In form 1 with textbox1 you call a public textbox from form 3 named : textbox3 :
if(frm1_frm3!=null && frm1_frm3.isdispose==false)
{
this.textbox1.text = frm1_frm3.textbox3.text;
}
Hope this helps you .