Пример #1
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            this.Dispose();
            AppMenu appMenu = new AppMenu();

            appMenu.Show();
        }
Пример #2
0
        private void ReturnAppMenu()
        {
            AppMenu appMenu = new AppMenu();

            appMenu.Show();
            this.Dispose();
        }
Пример #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();
     }
 }