J
jm
I have one form. It is named Form1.
I have one class file named netclass.cs
The form Form1 has one textbox named textBox1.
All I want to do is reference textBox1.text in the netclass.cs file.
I do not know how to do it and cannot find it by searching on Google.
Thank you.
I have tried
Form1 f as new Form1();
f.but nothing populates.
Thank you again.
I have one class file named netclass.cs
The form Form1 has one textbox named textBox1.
All I want to do is reference textBox1.text in the netclass.cs file.
I do not know how to do it and cannot find it by searching on Google.
Thank you.
I have tried
Form1 f as new Form1();
f.but nothing populates.
Thank you again.