private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == '/r')
{
this.button1_Click(sender, e);
}
}
无题

private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == '/r')
{
this.button1_Click(sender, e);
}
}