示例#1
0
 private void Con1_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Back)
     {
         New4.Clear();
         New4.Focus();
         p = 1;
     }
 }
示例#2
0
 private void textBox3_TextChanged(object sender, EventArgs e)
 {
     if (p == 0)
     {
         New4.Focus();
         p = 0;
     }
     if (p == 1)
     {
         p = 0;
     }
 }