Example #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();
 }
Example #2
0
 private void New2_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Back)
     {
         New1.Clear();
         New1.Focus();
         p = 1;
     }
 }
Example #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();
     }
 }