예제 #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);
     }
 }