0
I am coding in C# using visual Studio. I have a form1 and a class Register..how do I access textbox1 frm the class Register?
When I try to access textboxes in form1 from class Register I get an error message indicating that the objects in form1 are not accessible from the class even if I make them public. How do I go about it?
2 Respuestas
0
Didn't understand your question but maybe this would help
string a=textbox1.Text;
textbox1.text="Some Text";