Example #1
0
 //longitudeTbx-->latitudeTbx
 private void LongitudeTbx_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (char)Keys.Enter)
     {
         LatitudeTbx.Focus();
     }
 }
Example #2
0
 //longitudeTbx-->latitudeTbx
 private void LongitudeTbx_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyValue == 40)
     {
         LatitudeTbx.Focus();
     }
 }