Ejemplo n.º 1
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            this.Dispose();
            AppMenu appMenu = new AppMenu();

            appMenu.Show();
        }
Ejemplo n.º 2
0
        private void ReturnAppMenu()
        {
            AppMenu appMenu = new AppMenu();

            appMenu.Show();
            this.Dispose();
        }
Ejemplo n.º 3
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (isUserValidated(txtEmail.Text, _staffServices.SHA512(txtPassword.Text)))
     {
         id = GetUserId();
         this.Hide();
         AppMenu appMenu = new AppMenu();
         appMenu.Show();
     }
     else
     {
         DisplayUserValidationError();
     }
 }