private void btnBack_Click(object sender, EventArgs e) { this.Dispose(); AppMenu appMenu = new AppMenu(); appMenu.Show(); }
private void ReturnAppMenu() { AppMenu appMenu = new AppMenu(); appMenu.Show(); this.Dispose(); }
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(); } }