Make the Enter key act like the submit button
- by Michael Quiles
How can I make it where some one presses the enter key on my form it will submit this code ?
Ive tried the ligtning bolt events etc... but I can't seem to figure it out.
private void
xTripSubmitButton_Click(object sender, EventArgs e) {
// Calculates the numbers from the input and output boxes/labels
Miles =…