标签: vb.net
单击Button1时,如何在RichTextbox1中显示一些文本?
答案 0 :(得分:0)
您可以订阅按钮的Click事件,然后设置richtextbox的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