Ver originalprivate void textBox1_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == 13) { MessageBox.Show("Presionaste enter"); } }