Add next line of text in textbox?

  • Thread starter Thread starter trint
  • Start date Start date
T

trint

How can I add text to the next line of a textbox without disturbing the
previous line?
Thanks,
Trint
 
Here is the answer:
this.textBox1.AppendText(Environment.NewLine);
this.textBox1.AppendText(e.End.ToShortDateString());
thanks,
Trint
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top