摘要: C#文本框中默认是不允许使用全选的。可以通过以下事件完成: private void textBox1_KeyDown(object sender, KeyEventArgs e) { if (e.Control && e.KeyCode == Keys.A) textBox1.SelectAll( 阅读全文
posted @ 2017-02-09 18:07 chifandeyu 阅读(751) 评论(0) 推荐(0) 编辑