private void TXTPROD_KeyPress(object sender, KeyPressEventArgs e)
 {
     if ((int)e.KeyChar == (int)Keys.Enter)
     {
         TXTLOTE.Focus();
     }
 }
Пример #2
0
 private void TXTPROD_KeyPress(object sender, KeyPressEventArgs e)
 {
     if ((int)e.KeyChar == (int)Keys.Enter)
     {
         if (TXTPROD.Text == "")
         {
             MessageBox.Show(this, "INGRESE PRODUCTO", "GESADIV", MessageBoxButtons.OK, MessageBoxIcon.Error);
         }
         else
         {
             TXTLOTE.Focus();
         }
     }
 }