Exemple #1
0
 private void TB_DescResp1_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         TB_CodResp2.Focus();
     }
 }
Exemple #2
0
 private void TB_CodResp1_KeyDown_1(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         if (TB_DescResp1.Text == "")
         {
             TB_DescResp1.Focus();
         }
         else
         {
             TB_CodResp2.Focus();
         }
     }
 }