예제 #1
0
 private void TxtDV_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == 13)
     {
         TxtExpedida.Focus();
     }
 }
예제 #2
0
 private void TxtID_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == 13)
     {
         if (TxtDV.Visible)
         {
             TxtDV.Focus();
         }
         else
         {
             TxtExpedida.Focus();
         }
     }
 }