I\'m using C#/.NET for a Windows Forms application. I have a text box. How can I make the text box unselectable?
I don\'t want to disable the complete textbox.
private void textBox1_Click(object sender, EventArgs e) { this.textBox1.SelectionStart = this.textBox1.Text.Length; }
And don't forget that: read only=true