Esempio n. 1
0
        private void BtnNext_Click(object sender, EventArgs e)
        {
            RegistrationPage rp            = new RegistrationPage();
            String           LogInPassword = Hash(txtLogInPassword.Text);

            MessageBox.Show(RegistrationPage.hashedPassword);

            if (RegistrationPage.hashedPassword == LogInPassword)
            {
                HomeForm hf = new HomeForm();
                this.Hide();
                hf.ShowDialog();
            }
            else
            {
                MessageBox.Show("INCORRECT PASSWORD!");
            }
        }