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