- private void text1_KeyDown(object sender, KeyEventArgs e)
- {
- if (e.Modifiers == Keys.Control && e.KeyCode == Keys.A)
- {
- ((TextBox)sender).SelectAll();
- }
- }
Winform Text全选Ctrl+A事件
最新推荐文章于 2023-01-15 15:54:59 发布