Adding strings to a RichTextBox in C#

前端 未结 5 1845
独厮守ぢ
独厮守ぢ 2021-01-06 12:51

I currently have a function that will set a value to a RichTextBox, although how could you \"add\" a value or a new line to it, rather than overwriting existing data in the

5条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-06 13:48

    richTextBox2.AppendText(Environment.NewLine + DateTime.Today + " Hello"); 
    

提交回复
热议问题