In one form texbox1.Text value is carry from another Window from
how it is possible ...
please give me ans...
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
sriPosted Nov 9, 2012, 6:04 AM
here i am using tab control in windows forms in c#
in this one form text box value carry to another window form
i am write like this but i am getting error
please give me the ans...
Sivaraman DhamodaranPosted Oct 15, 2012, 2:05 AM
Declare a public string variable in frm2. On form closing event of frm2, store the public variable with the textbox1.text value. Call the frm2 from frm1. After frm2 is closed, you can use frm2.
(Or) The ugly way:
Make your textbox1 declarion to the public section, then refer the textbox1 like frm2.textbox1.text
Hope this helps