예제 #1
0
 private void TxtPass_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == 13)
     {
         TxtMotivo.Focus();
     }
 }
예제 #2
0
 private void CboAplica_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (CboAplica.SelectedValue != null)
     {
         TxtMotivo.Text      = "Motivo de la diferencia";
         CtrDiferencia.Value = 999;
         TxtMotivo.Visible   = CtrDiferencia.Visible = true;
         TxtMotivo.SelectAll();
         TxtMotivo.Focus();
     }
     else
     {
         TxtMotivo.Visible = CtrDiferencia.Visible = false;
     }
 }