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