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