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.
我想在标签中显示此信息。如果我在 50 到 60 之间的文本框中输入一个数字,我希望标签显示“好”。我希望有人可以帮助我,谢谢。
At first add one button to your form. Then write below code in click event of your button:
int text = int.Parse(TextBoxName.text); if(text>50 && text<60) { LableName.text="Good"; }