Re: access a textbox value from another form

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello,
Define a string property in Form2 and set it in Form1's button click
event handler before displaying the Form2.

Or, if Form2 has the reference to Form1's object then make a string
property in Form1 and access it from Form2.

HTH. Cheers.
Maqsood Ahmed [MCP,C#]
Kolachi Advanced Technologies
http://www.kolachi.net

*** Sent via Developersdex http://www.developersdex.com ***
.


Quantcast