TextBox为不可输入,但是可以读取 TextBox.ReadOnly = True 好像不管用 TextBox.Enable = Fasle 禁用的属性太多
------解决方案--------------------
在KeyPress或者keydown事件里面写e.handles=true
------解决方案--------------------
Text1.Locked = True(有光标闪烁,输入、删除等操作无效)
Text1.Enabled = False(无光标闪烁,不能输入、删除,界面变色、文字反白)