Пример #1
0
        private void btnChange_Click(object sender, EventArgs e)
        {
            bool pwd   = false;
            bool RePwd = false;

            Contacts.Service1 ser = new Contacts.Service1();
            ser.ChangePwd(myUtill.loginUser.Userid, txtOldPwd.Text, txtNewPwd.Text, txtRePwd.Text, out pwd, out RePwd);
            bool ret = ChangePwd(myUtill.loginUser.Userid, txtOldPwd, txtNewPwd, txtRePwd);

            MessageBox.Show("Password Changed Successfully");
        }