Beispiel #1
0
 private void RegisterBtn_Click(object sender, EventArgs e)
 {
     if (PasswordSU_TB.Text == CnfrmPassSU_TB.Text)
     {
         dll.enPass(PasswordSU_TB.Text, UNameSU_TB.Text);
         MessageBox.Show("Registered!!");
         UNameSU_TB.Clear();
         PasswordSU_TB.Clear();
         CnfrmPassSU_TB.Clear();
     }
     else
     {
         MessageBox.Show("Invalid Password");
     }
 }
Beispiel #2
0
 private void RegisterBtn_Click(object sender, EventArgs e)
 {
     if (PasswordSU_TB.Text == CnfrmPassSU_TB.Text)
     {
         dllfile.Encrypt(PasswordSU_TB.Text, UNameSU_TB.Text);
         MessageBox.Show("Register Successfull");
         UNameSU_TB.Clear();
         PasswordSU_TB.Clear();
         CnfrmPassSU_TB.Clear();
     }
     else
     {
         MessageBox.Show("Password doesn't match");
     }
 }