Example #1
0
        private void saveBtn_Click(object sender, EventArgs e)
        {
            string authority = AppAuthority.Authority;
            string password  = passwordTextBox.Text;

            AccountWebService.accountPortTypeClient YeniWebServis = new AccountWebService.accountPortTypeClient();

            string Update = YeniWebServis.updateAccount(password, Customer.Token, authority);

            if (Update == "0")
            {
                MessageBox.Show("Failed to update!");
            }
            else if (Update == "1")
            {
                MessageBox.Show("Update successfull");
            }
        }