会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
chifandeyu
博客园
首页
新随笔
新文章
联系
订阅
管理
2017年2月9日
C#文本框允许使用ctrl+A
摘要: 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)
编辑