label1.Text="blah blah blah"
不是label1.Text("blah blah blah")
。
You're using Label1.Text
as a function which is wrong since Text
is a property. The correct way to do it is Label1.Text = "some text"
.
To set the text in a label you have to do:
label1.Text="hello world"
you are instead using it as it were a method call
label1.Text("hello world") //wrong!!!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.