Background:
I am writing a C# form program with MSVS 2010. The form has 2 textboxes: textBox1 (input, single line) and textBox2 (output, multiple lines).
I want to enter a string in textBox1 and when a condition is met it prints some text to textBox2. I want to be able to enter multiple inputs and print output to textBox2 and not erase the previous output.
Questions:
- My question is can this be done?
- If not can you use multiple text boxes and move the output to the next higher value text box?
All you need to do is keep appending to the text property.
This is, of course, after you’ve given your textbox a more meaningful name than
textBox2Bonus: You can also prepend to the text if you prever new output to appear at the top: