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.
当我单击 Button1 时,如何使一些文本出现在 RichTextbox1 中?
您可以订阅按钮的 Click 事件,然后设置富文本框的Text属性:
Text
Public Sub Button1_Click(ByVal sender As Object, ByVal args As EventArgs) Handles Button1.Click RichTextbox1.Text = "This is the text" End Sub