资 源 简 介
TextBox controls have the nice read only feature. When you set the ReadOnly property of a TextBox to true, you can t edit the text in the TextBox anymore. The user can still select the text and copy it to another place. The background of the TextBox is painted gray so the user has a visual indication of the ReadOnly mode. The text is still painted in black, as in a normal editable TextBox.