G
Guest
I have a button on a form that calls a function. The function does some stuff
and then I want it to write the results to a richTextBox. The problem is the
code;
richTextBox1.Text += "Results";
Gives me the error, 'Form1.righTextBox1' denotes a field where a class was
expected.
How do I reference the richTextBox from the function?
and then I want it to write the results to a richTextBox. The problem is the
code;
richTextBox1.Text += "Results";
Gives me the error, 'Form1.righTextBox1' denotes a field where a class was
expected.
How do I reference the richTextBox from the function?