Pass the text box value from one form to other
-
What have you done? How are you trying to accomplish? (delegates)
-
expose a property in the form that has the texbox and call it from the other form when you need it
public string TextBox_text
{
get{return textbox1.Text;}
} -
Both answers you've got are good ( delegates are better ), but I will point out if you'd bothered to search the site, there is at least one excellent article on how to do this.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Can u write down whether you are working on web forms or window forms?
Sarvesh Upadhyay Senior Software Engineer Birlasoft India Ltd. Microsoft Certified Professional Developer in Dotnet 2.0 Enterprise Application
-
Can u write down whether you are working on web forms or window forms?
Sarvesh Upadhyay Senior Software Engineer Birlasoft India Ltd. Microsoft Certified Professional Developer in Dotnet 2.0 Enterprise Application