示例#1
0
 public void clerar()
 {
     old1.Clear(); old2.Clear(); old3.Clear(); old4.Clear();
     New1.Clear(); New2.Clear(); New3.Clear(); New4.Clear();
     Con1.Clear(); Con2.Clear(); Con3.Clear(); Con4.Clear();
     button3.Hide();
 }
示例#2
0
 private void Con1_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Back)
     {
         New4.Clear();
         New4.Focus();
         p = 1;
     }
 }
示例#3
0
 private void New4_TextChanged(object sender, EventArgs e)
 {
     if (old1.Text == "" && old2.Text == "" & old3.Text == "" && old4.Text == "")
     {
         label16.Visible = true;
         label16.Text    = "Fill all text  !";
         New1.Clear();
         New2.Clear();
         New3.Clear();
         New4.Clear();
         New1.Focus();
     }
     else
     {
         label16.Visible = false;
         Con1.Focus();
     }
 }