Exemple #1
0
 private void New3_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Back)
     {
         New2.Clear();
         New2.Focus();
         p = 1;
     }
 }
Exemple #2
0
 private void textBox1_TextChanged(object sender, EventArgs e)
 {
     if (p == 0)
     {
         New2.Focus();
         p = 0;
     }
     if (p == 1)
     {
         p = 0;
     }
 }