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.
我想将 bunifumetrotextbox 设置为只读,但我收到一条错误消息
'readonly' 不是 'Bunifumetrotextbox' 的成员
我真的需要将此文本框设置为只读。谁能帮我
我知道答案有点晚了,但如果它适用于其他人,我会使用这个:
TEXTBOXBUNIFU.Enabled = False
缺点是文本使其变为灰色,而不是您在文本框设置中放置的原始颜色。