3

How to make a textbox disable but selectable in C# winform VS 2010?

4

1 回答 1

7

You can use the ReadOnly property:

textbox.ReadOnly = true;

http://msdn.microsoft.com/en-us/library/system.windows.forms.textboxbase.readonly.aspx

于 2012-10-28T09:42:54.653 回答