private void SoundFilePicker_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == '\r' || e.KeyChar == '\n') { GoButton.Focus(); GoButton_Click(null, null); } }
private void AlarmType_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == '\r' || e.KeyChar == '\n') { GoButton.Focus(); GoButton_Click(null, null); } }