Exemple #1
0
        private void BtnSignUp_Click(object sender, EventArgs e)
        {
            if (SignUpController.CriarConta(Convert.ToInt32(TextBoxAgency.Text), TextBoxAccountType.Text, TextBoxUser.Text, TextBoxPassword.Text))
            {
                MessageBox.Show("Account successfully created");
            }
            else
            {
                MessageBox.Show("Could not create an account");
            }

            OpenHome();
        }