如何设置Enter+Ctrl发送
发送按钮 设置成点击Enter+Ctrl键,即可发送如何实现?要设置说明属性?
private void textBox2_KeyUp(object sender, KeyEventArgs e)
{
if (e.Modifiers == Keys.Control && e.KeyCode == Keys.Enter)
{
textBox1.Text = textBox2.Text;
textBox2.Text = "";
}
}