Ejemplo n.º 1
0
 private void TxtPhone_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         TxtCompany.Focus();
     }
 }
Ejemplo n.º 2
0
 private void directionTextbox_KeyDown(object sender, KeyEventArgs e)
 {
     if (Keys.Enter == e.KeyCode)
     {
         TxtCompany.Focus();
     }
 }
Ejemplo n.º 3
0
 private void CmdNew_Click(object sender, EventArgs e)
 {
     CmList.Enabled  = false;
     LblId.Text      = "";
     TxtCompany.Text = "";
     CmdSave.Enabled = true;
     TxtCompany.Focus();
 }
 private void TxtUserName_OnKeyDown(object sender, KeyRoutedEventArgs e)
 {
     if (e.Key == VirtualKey.Enter)
     {
         TxtCompany.Focus(FocusState.Programmatic);
         e.Handled = true;
     }
 }