Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个小程序,但遇到了问题。我想每 1 个 Timer Tick 将文本附加到 RichTextBox。我怎样才能做到这一点?
好的...处理 Timer 的 Tick() 事件并附加您的文本:
Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick RichTextBox1.AppendText("Append: " & DateTime.Now & vbCrLf) End Sub