示例#1
0
        private void BtnResetPasswordClick(object sender, EventArgs e)
        {
            var user1 = currentUserBindingSource.Current as User;

            if (user1 != null)
            {
                var setpassword = new SetPasswordView(user1.UserID);
                setpassword.ShowDialog();
                Refresh(CurrentUser.UserID);
            }
        }
 private void BtnResetPasswordClick(object sender, EventArgs e)
 {
     var user1 = currentUserBindingSource.Current as User;
     if (user1 != null)
     {
         var setpassword = new SetPasswordView(user1.UserID);
         setpassword.ShowDialog();
         Refresh(CurrentUser.UserID);
     }
 }