How can I get the text of the textbox which layout in another form?
C#
4
Posts
4
Posters
0
Views
1
Watching
-
please...
-
please...
If the textbox resides in another application use the GetwindowText API. If the textbox resides in your application create a public readonly property with returns TextBox.Text; Programming is a way of thinking ... its a way of life. Some people have it and some people don't. Well at least thats what the voices in my head tell me. :)
-
please...
-
please...
as above reply said you can use somthing like that
Form2 form= new Form2(); string text=form2.textBox1.Text;
MCAD