我使用此代码逐行删除richtextbox中的行,但仍保留一个空行(空格)。for (int i = 0; i < richtextbox1.Lines.Length; i++)//Loops through each line of text in RichTextBox endindex = text.Length;
我在Visual Studio中拼命使用我的richtextbox。我附加了来自串行接口(uart)的通信。但这应该如何工作呢?我试过了:
this.richTextBox_message.Text.Remove(0, 1000); // doesn't work// would be bad solution, because i