Example #1
0
 private void New4_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Back)
     {
         New3.Clear();
         New3.Focus();
         p = 1;
     }
 }
Example #2
0
 private void textBox2_TextChanged(object sender, EventArgs e)
 {
     if (p == 0)
     {
         New3.Focus();
         p = 0;
     }
     if (p == 1)
     {
         p = 0;
     }
 }